Author Topic: View linked images  (Read 3781 times)

beaky

  • Full Member
  • ***
  • Posts: 169
View linked images
« on: February 05, 2014, 05:24:38 pm »
On my highest traffic account, I have push enabled (in case this is useful background).
I have aquamail set up so linked images are not viewed by default. I must click on a bar to view them.
Perhaps I have missed something, but I sometimes see them (images) briefly, before they are quickly replaced by placeholders.
Also if I navigate away from an email and back to it, the images disappear again, but can be reenabled.

Now, maybe I am using the wrong thinking, but I can see three advantages in NOT downloading or viewing images:
1 that traffic is reduced (downloading)
2 that potentially harmful objects are not opened (viewing).
3 the resulting email is usually more compact.

Neither of the first two is satisfied if they download automatically, shown, then hidden.

Am I using the wrong options, is this a server setup issue, or is this an issue only with push?

Thanks for any advice

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12742
Re: View linked images
« Reply #1 on: February 09, 2014, 11:39:43 pm »
Um, hiding works by replacing the actual "src" attributes in "img" tags. The links are removed.

Do all images within a message flash like this? Or just one image at the end?

I'm thinking a partially loaded message might have some incomplete (cut off) HTML at the bottom, causing my code to not recognize the tag (keeping the img's src in place).

But that wouldn't explain why you're seeing images flash when you go back to a now completely loaded message.

Does this happen with all messages (with images) or just some? Is there a pattern? Would it be possible for me to get a sample message?
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

beaky

  • Full Member
  • ***
  • Posts: 169
Re: View linked images
« Reply #2 on: February 27, 2014, 05:57:53 am »
I wish I had noted which messages this applied to, but it was apparent when the message being viewed is beyond the "loaded" range. I cannot reproduce it today, but will keep looking so that I might send you a message that does this. I am pretty sure it did not happen with "loaded" messages, that is, those that are the most recent few hundred. Judging by the date on my message it was also a time when my connection was slow.

Am I right that the IMG content is only hidden, so is already downloaded, or do the images only download when I tap on the bar?

I recently received an email that was all images, with no text whatever, and with this, the bar to show linked images never appeared at all, so I still don't know what it contains. This is a separate issue and the only one I have seen, so may be a defective message. If I find it I will forward it.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12742
Re: View linked images
« Reply #3 on: March 03, 2014, 01:51:16 am »
My code scans for <img> tags and removes their "src" attributes completely, when "show linked images" is off.

So those images should never download, until you tap the "show images" panel.

It makes no difference whether this is a recent or an old message.

If you see it again, I'd appreciate the exact original message source (as an attachment, sent to my email).
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/