develooper Front page | perl.beginners | Postings from May 2008

Re: displaying inline images in HTML email

Thread Previous | Thread Next
From:
David Newman
Date:
May 3, 2008 11:37
Subject:
Re: displaying inline images in HTML email
On 5/3/08 1:42 AM, Chas. Owens wrote:
> On Sat, May 3, 2008 at 1:26 AM, David Newman <dnewman@networktest.com> wrote:
>> I'm trying to include a PDF image both inline and as an attachment to an
>> HTML email. The MIME::Lite module supports this, and the documentation even
>> gives an example:
> snip
>>  I'm new to <img src=cid: > tags. I've also tried this with "<img
>> src=cid:08Bike.pdf>" but that doesn't display inline either.
> snip
> 
> That would be because PDFs* are not images**.  The are (possibly
> multipage) documents.  Images are raster files like GIF***, PNG****,
> and JPEG*****.  Some clients may support other types like tiff, but
> you should not count on it.
> 
> * http://en.wikipedia.org/wiki/PDF
> ** http://www.w3.org/TR/html401/struct/objects.html#h-13.2
> *** http://en.wikipedia.org/wiki/Gif
> **** http://en.wikipedia.org/wiki/Portable_Network_Graphics
> ***** http://en.wikipedia.org/wiki/Jpeg

OK, makes sense.

Next question: How to display PDFs inline?

thanks

dn



Thread Previous | Thread Next


Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About