Creating complex mails with inline imagesFrom MozillaZine Knowledge Base
[edit] Include images from filesThe HTML format allows to place an image within the message text rather than as an attachment. There are several ways how to do this. This section describes including an image from a local file, whereas the next section describes inserting an image located at a remote server. [edit] Browse for an image
[edit] Drag & drop imagesYou can also drag the image file directly from your desktop or an open folder into your message-composition window to place it there. By default, no alternate text is specified. If you want to include an alternate text, double-click on the image in your message to make the respective settings in the Image Properties dialog. [edit] Copy & paste imagesYou can copy any image or the content of any open window to the clipboard of your operating system, then paste it into the message. Compared to using the "Insert" menu or drag & drop method, pasting will usually reduce the quality of the image in Thunderbird 2.0 (see bugs, Thunderbird 3.0 will paste in lossless PNG by default and has an increased quality setting if pasting in JPEG format). Thus, the other two methods are preferred. Hack: As a workaround for Thunderbird 2.0 on Windows, and if you feel comfortable modifying programs, you can increase the pasting quality with a hex editor (for example, XVI32). Go to Thunderbird's installation directory. Make a backup copy of the main Thunderbird executable (for example, thunderbird.exe on Windows), then use the hex editor to edit the original. Search for the Unicode string Note: On Linux, copy & paste or drag & drop may not work for Thunderbird 2.0, or paste a file path as text instead (this is fixed in 3.0). [edit] Remote imagesIn an HTML-formatted message, you can send mail with a pointer to a picture rather than embedding the actual picture in the message. The advantage is that the message is much smaller. The disadvantage is that the picture is physically on another server; if the image is unavailable—now or in the future—your recipient will not see it. Some e-mail clients might also be configured to block remote images.
[edit] Drag & drop imagesRather than copy-pasting the URI of an image within a web page manually, you can also drag the image directly from a web page you are viewing with Firefox or SeaMonkey into your open HTML message-composition window to place it there. By default, the image will be attached to the message before sending. If you want to include a reference to the remote image only without attaching it, double-click on the image in your message and uncheck the respective box in the Image Properties dialog. [edit] Inserted HTMLIf you create your HTML message in some other application, and insert it in the message by using Thunderbird's Insert – HTML... dialog, then you can usually use that other application to add the moz-do-not-send attribute to each IMG tag. For example, the resulting tag might look like: <img src="http://static.mozillazine.org/common/images/blimp.png" moz-do-not-send="true"> [edit] Images from other messagesYou can drag & drop images that are part of (or attached to) a message which you are currently displaying to a new message you are composing. [edit] Drag into message body
[edit] Place as attachment
[edit] Images referred over CSSIf you create a new HTML-formatted message and use external URIs for images, Thunderbird will automatically download them and attach them as inline images. However, that does not work with images referred over CSS, meaning the absolute URI stays. The problem with this is that some mail clients (including Thunderbird itself) will provide the recipient with a security/privacy warning that external images will be excluded instead of displayed inline. [edit] Related bugs
[edit] See also
[edit] External Links |
|