MozillaZine


Inline images from word / outlook / hotmail

User Help for Mozilla Thunderbird
bouncingmolar
 
Posts: 17
Joined: January 13th, 2006, 2:20 am

Post Posted July 25th, 2007, 2:51 pm

After reading the article : <a href="http://kb.mozillazine.org/Images_in_messages_do_not_appear">Images in messages do not appear</a>
And viewing thread: <A href="http://forums.mozillazine.org/viewtopic.php?t=131293">Images in Thunderbird</a>

It appears that the reason why inline images don't appear is because of what word/outlook does to it.

Contrary to the reasons given in the above thread I think I know the real reason why these images are not being displayed inline.

this is what an image attachment header <b>should</b> look like:

<b>Content-Type: image/jpeg;</b>
name="IMAGE_1.jpg"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="IMAGE_1.jpg"


I viewed the source from an msoffice 12 created email where the images were not being displayed inline:

<b>Content-Type: application/octet-stream;</b>
name="IMAGE_2.jpg"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="IMAGE_2.jpg"


It appears that the reason it doesn't display properly is because MSoffice is not changing the content-type to :image/jpeg and so thunderbird doesn't realise that "application/octet-stream" is an image.

In some of my older emails, the following prevents images being displayed inline:
<b>Content-Type: application/x-unknown-content-type-ViewerFrameClass;</b>


Is this the right place to ask if someone can make it possible for thunderbird to recognise "application/octet-stream" / "application/x-unknown-content-type-ViewerFrameClass;" as an inline attachment?

Daifne
Moderator

User avatar
 
Posts: 123071
Joined: July 31st, 2005, 9:17 pm
Location: Where the Waters Meet, Wisconsin

Post Posted July 25th, 2007, 4:21 pm

Not really.
Established in 1998, MozillaZine is an independent Mozilla news, community and advocacy site. MozillaZine is not run by the Mozilla Foundation and is not an official part of the Mozilla project. MozillaZine is hosted at the Open Source Lab at Oregon State University.


Bugzilla is the proper place.

novaflash
 
Posts: 10
Joined: October 19th, 2004, 12:24 am

Post Posted May 24th, 2010, 5:36 am

Yeah now if only they did something about it. The bug is STILL there.

rsx11m
Moderator
 
Posts: 14404
Joined: May 3rd, 2007, 7:40 am
Location: US

Post Posted May 24th, 2010, 5:47 am

The sending application is responsible for providing the correct type of the attachment, which is image/jpeg here and nothing else. Just the fact that other vendors make up their own standards as they go doesn't imply that applications which do adhere to the official standard have to adapt to those. ;-)

The combination of Content-Type: application/octet-stream; and Content-Disposition: attachment; would clearly indicate to the receiving e-mail client that this is nothing to be shown inline...

LIMPET235
Moderator

User avatar
 
Posts: 39424
Joined: October 19th, 2007, 1:53 am
Location: The South Coast of N.S.W. Oz.

Post Posted May 24th, 2010, 6:19 am

Please start a new thread if you have a problem.
Locking this oldie.
Ancient Amateur Astronomer
Win-7-HP/IntelĀ® DualCore-2.0GHz/500G HDD/4 Gig Ram/550Watt PSU/350WattUPS/Firefox-20.0-62.0-79.0-93.0/T-bird-2.0.0.24/SnagIt-v10.0.1/MWP-7.12.
W.M.Y.C.
(Always choose the "Custom" Install.)

Return to Thunderbird Support


Who is online

Users browsing this forum: No registered users and 3 guests