Closed Bug 637550 Opened 14 years ago Closed 14 years ago

image attachments don't show up in img tag, multipart/mixed

Categories

(MailNews Core :: MIME, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 61815

People

(Reporter: timlenertz, Unassigned)

Details

(Keywords: testcase)

Attachments

(2 files)

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.6.13-1.fc13 Firefox/3.6.13 Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc13 Thunderbird/3.1.7 for some e-mails in html format with an image attachment, and an img html tag in the message body that refers to the attachment, the img tag is displayed as a blank frame with a 'broken file' icon. but the jpeg attachment appears correctly as an inline attachment below the message, and in the attachment bar. The message is multipart/alternative with text and html version and the message viewer does show the html version. the html has a tag like <img width=3D417 height=3D385 alt=3D"" hspace=3D1 vspace=3D1 src=3D"cid:654= 08066.01CBD3AD.70499D79.6272FB61_csseditor">, and the header of the image attachment is Content-Type: image/jpeg; name="int_1.jpg" Content-Transfer-Encoding: base64 Content-ID: <65408066.01CBD3AD.70499D79.6272FB61_csseditor> "Display Attachments inline" is enabled, and "Message body as" is "Original HTML". Setting it to "Simple HTML" hides the img frame completely. Reproducible: Always Steps to Reproduce: 1. import message (bugreport.eml) into thunderbird 2. view message in message viewer Actual Results: the message renders correctly, except the img container remains a blank frame with a broken file icon, but of the correct dimensions. the attachment is shown below the message body, and in the attachment list below the message viewer. Expected Results: the image attachment should also show up in the img frame Thunderbird version 3.1.7 Default Theme Several add-ons enabled, but the bug also occurs without add-ons. Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc13 Thunderbird/3.1.7 Fedora Linux Release 13 (Goddard) 64 bit Kernel Linux 2.6.34.7-66fc13.x86_64 GNOME 2.30.2
it works if the mime type of the email is multipart/related instead of multipart/mixed.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Component: Message Reader UI → MIME
Keywords: testcase
Product: Thunderbird → MailNews Core
QA Contact: message-reader → mime
Resolution: --- → DUPLICATE
Summary: image attachments don't show up in img tag → image attachments don't show up in img tag, multipart/mixed
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: