Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Don't display images

458 views
Skip to first unread message

Greg Trounson

unread,
Oct 11, 2006, 10:32:21 PM10/11/06
to support-t...@lists.mozilla.org
Hi there,

Does anyone know of a way to get Thunderbird to not display image attachments that are
loaded by HTML content?

De-selecting 'Display Attachments Inline' doesn't work (the images still show up). The
primary reason for this is that a lot of spam these days uses this method to show
offensive pictures and people at my place of work are getting fed up with it.

Another point of interest is that if I save one of these messages to a file, and re-load
it into Thunderbird the image doesn't show up, suggesting a problem in either the saving
or loading process. Nothing in the saved message that I can see looks terribly out of
place but perhaps someone more familiar with the RFCs.

I can forward a sample copy of this kind of spam (a non-offensive one, just a stupid
investment offer) if anyone wants to analyse it.

thanks,
Greg

Nir

unread,
Oct 11, 2006, 10:37:39 PM10/11/06
to
Greg Trounson wrote:
> Hi there,
>
> Does anyone know of a way to get Thunderbird to not display image
> attachments that are loaded by HTML content?
>


Goto Tools>Options>Privacy>general
check 'Block loading of remote images in mail messages' option only.

Leonidas Jones

unread,
Oct 11, 2006, 10:43:47 PM10/11/06
to

Also, View>>Message Body As'

Simple HTML will disable image display. Plain Text will display only
unformatted text.

Lee

--
Leonidas Jones, Mozilla/Netscape Champion
Learn about the Champs! http://mozillachampions.ufaq.org
The UFAQ'S http://www.ufaq.org/
http://www.mozilla.org/community/etiquette.html
http://mozilla.com http://mozilla.org

Greg Trounson

unread,
Oct 11, 2006, 11:57:48 PM10/11/06
to Mozilla Thunderbird end-user help
Nir wrote:
> Greg Trounson wrote:
>> Hi there,
>>
>> Does anyone know of a way to get Thunderbird to not display image
>> attachments that are loaded by HTML content?
>>
>
>
> Goto Tools>Options>Privacy>general
> check 'Block loading of remote images in mail messages' option only.

Thank you, but I fail to see how that could possibly block loading of an /attached/ image.
That option is already checked and has no effect in this case.

Greg


Greg Trounson

unread,
Oct 12, 2006, 12:01:08 AM10/12/06
to Mozilla Thunderbird end-user help
Leonidas Jones wrote:

> Also, View>>Message Body As'
>
> Simple HTML will disable image display. Plain Text will display only
> unformatted text.
>

In this case Simple HTML still shows the image. Plain Text removes the image but of course
all HTML formatting is lost too.

thanks,
Greg

Mike Cowperthwaite

unread,
Oct 12, 2006, 2:45:13 AM10/12/06
to
Greg Trounson wrote:
> Does anyone know of a way to get Thunderbird to not display image
> attachments that are loaded by HTML content?

You can tweak the Simple HTML mode to discard images, by modifying this
parameter:
mailnews.display.html_sanitizer.allowed_tags

Change the substring: img(alt,title,longdesc,src)
to: img(alt,title,longdesc)

Or, remove the img substring entirely. (Editing this parameter is
easier in a text editor that can wrap a long line without actually
inserting line breaks.)

I've seen a message with an image that simply can't be suppressed by any
operation, even View As Plain Text, but fortunately those seem to be rare.

Chris Ilias

unread,
Oct 12, 2006, 6:35:13 PM10/12/06
to
_Greg Trounson_ spoke thusly on 11/10/2006 11:57 PM:

> Thank you, but I fail to see how that could possibly block loading of an
> /attached/ image. That option is already checked and has no effect in
> this case.

Uncheck 'View-->Display Attachments Inline'.
--
Chris Ilias
mozilla.test.multimedia moderator
Mozilla links <http://ilias.ca>
(Please do not email me tech support questions)

Telmo Amaral

unread,
Oct 12, 2006, 8:25:54 PM10/12/06
to

Are those messages actually listed as containing attachments
(showing a "clip" icon on the messages list)? If so, disabling
Display Attachments Inline, as suggested by Chris, should work. If
not, the fact is that many spam messages contain images that are
neither remote nor attached (at least in the normal sense).
Inspecting their source (Ctrl+U), you can see they're multi-part
messages that, in the HTML part, contain tags like <img
src=3D"cid:000b ...>". These tags refer to another part of the
message, which contains the actual image. Maybe Mike's advice can
help in those cases.

Telmo Amaral

unread,
Oct 12, 2006, 8:37:47 PM10/12/06
to
Telmo Amaral wrote:
> Greg Trounson wrote:
>> Nir wrote:
>>> Greg Trounson wrote:
...

> the fact is that many spam messages contain images that are
> neither remote nor attached (at least in the normal sense).
> Inspecting their source (Ctrl+U), you can see they're
> multi-part messages that, in the HTML part, contain tags like
> <img src=3D"cid:000b ...>". These tags refer to another part of
> the message, which contains the actual image. Maybe Mike's
> advice can help in those cases.

Mike's method works like a charm. I've just removed 'src' from the
'img ...' substring. As a result, messages that contain the type
of "embedded" images mentioned above, when marked as spam, are
sanitised in such a way that the images are removed.

0 new messages