Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Software > Mozilla Software > ThunderBird

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-24-2008, 03:42 PM
Laurent Bauvens
 
Posts: n/a
hyperlink'ed image and HTML signature

Hi all

I wish to include a picture in a html signature. And it works well.
But not in a way I want.

My goal is to have...
- the picture on a public web server
- the picture loaded from the server when the mailer displays the
mail. If the server is unreachable then the html alternate text is
displayed.

But when I click on the "send" button, Thunderbird automatically
embeds the picture into a inline attachment and modifies the html
source code of the signature to replace the original URI by a new URI
which points to the embedded picture.

Does somebody know a way to configure Thunderbird to prevent it to
embed the image ?

Thanks
Reply With Quote
  #2 (permalink)  
Old 07-25-2008, 08:22 AM
Arivald
 
Posts: n/a
Re: hyperlink'ed image and HTML signature

Laurent Bauvens pisze:
> Hi all
>
> I wish to include a picture in a html signature. And it works well.
> But not in a way I want.
>
> My goal is to have...
> - the picture on a public web server
> - the picture loaded from the server when the mailer displays the
> mail. If the server is unreachable then the html alternate text is
> displayed.
>
> But when I click on the "send" button, Thunderbird automatically
> embeds the picture into a inline attachment and modifies the html
> source code of the signature to replace the original URI by a new URI
> which points to the embedded picture.
>
> Does somebody know a way to configure Thunderbird to prevent it to
> embed the image ?
>
> Thanks


Use CSS, "background-image: utl(http:// .../ ...);".

But beware: this image will be treated as malicious by most mail
clients. TB by default do not show such images, and display warning
message instead.

Sending image with message is best way.
And if you care about bandwidth, use image editing tool and optimize image.

--
Arivald
Reply With Quote
  #3 (permalink)  
Old 07-30-2008, 09:02 AM
Laurent Bauvens
 
Posts: n/a
Re: hyperlink'ed image and HTML signature

Hi Arivald

On 25 juil, 10:22, Arivald <arivald_@AT_interia_DOT_pl> wrote:
>
> Use CSS, "background-image: utl(http:// .../ ...);".


I tested your tip but that failed because my original CSS declaration

background-image: url(http://server/path/file.gif);

becomes

background-image: url(<a class="moz-txt-link-freetext" href="http://
server/path/file.gif">http://server/path/file.gif</a>);

when Thunderbird sends the message and the link is broken. In fact, as
my previous method, it works well until the message is sent. :(

>
> But beware: this image will be treated as malicious by most mail
> clients. TB by default do not show such images, and display warning
> message instead.


It doesn't really matter because the goal is to avoid overloading the
messages stored (IMAP and local folders) with a bitmap signature.
Theoretically, alternate text is sufficient and the bitmap signature
is just here to please our intranet's users. ;)

>
> Sending image with message is best way.
> And if you care about bandwidth, use image editing tool and optimize image.


I care about free disk space both on MTA and UA. In my point of view,
bitmap signature is a real dirty thing which pollutes messages with a
so beautiful logo.

10 kb * 1.33 * X million of mails ends to make a very big amount of
disk space in which you will find actually obese message bases.

Thanks,

Reply With Quote
  #4 (permalink)  
Old 07-30-2008, 03:06 PM
Arivald
 
Posts: n/a
Re: hyperlink'ed image and HTML signature

Laurent Bauvens pisze:

> Hi Arivald
>
> On 25 juil, 10:22, Arivald <arivald_@AT_interia_DOT_pl> wrote:
>> Use CSS, "background-image: utl(http:// .../ ...);".

>
> I tested your tip but that failed because my original CSS declaration
>
> background-image: url(http://server/path/file.gif);
>
> becomes
>
> background-image: url(<a class="moz-txt-link-freetext" href="http://
> server/path/file.gif">http://server/path/file.gif</a>);
>


Yes, annoying bug ;-).

Just enclose all CSS in HTML comment

<style type="text/css"><!--
body {...}
--></style>


--
Arivald

Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Software > Mozilla Software > ThunderBird


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 12:26 PM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109