Link to home
Start Free TrialLog in
Avatar of polaatx
polaatxFlag for United States of America

asked on

Can't figure out where a CID image source comes from

I've gotten an html email from a friend and I want to redesign it for her. But the images inside the htm file has a CID source, such as:

<IMG alt="" hspace=0
src="cid:288024921@30112003-36ae" align=baseline border=0>

I found a link (http://ftp.ics.uci.edu/pub/ietf/uri/rfc2111.txt) that explains CID as Content ID that refers to the information within THE SAME message. But these images are not elsewhere inside the message. They have got to be linked to an outside source.

I put the htm file on the web: http://www.saneplanet.com/clients/alo/E-Newsletter.htm 
but none of the images show up!

But they do show up in my Outlook: http://www.saneplanet.com/clients/alo/printscreen.gif

So where are these images coming from and how can I capture them into the design I am making for her?
Avatar of dorward
dorward

The images have to be attached to the email if they can be referenced using cid:

Most likely your email client is hiding them from you. Try viewing the raw source of the email, or using an email client which can show all parts of a message (such as mutt).
Avatar of seanpowell
The CID (Content ID) actually references the images in the email which are attached - even though they don't show as attachments.

Just right-click on the images in Outlook and save them. (You may only have .bmp as an option, but that won't hurt them. Just make sure to resave them as .gif's or .jpg's afterwards...

Thanks,
Sean
Avatar of polaatx

ASKER

Thanks Seanpowell and dorward. I could save the pictures.

So what is the best way to redo this ugly thing? Should I store that images on my server and just refer to them externally in the email or should I try to put them inline, like the way I got them?

Avatar of polaatx

ASKER

One reason I ask is because the email I got originally is 204k and I am thinking that perhaps some people would not like to get such a heavy email in their box. Or is my thinking too retro and 204k emails are no big deal these days?
204k emails are way way way too big, reference external URIs and try to reduce the file size of the images as much as possible (30k is a good guide for the maximum file size of a webpage)
ASKER CERTIFIED SOLUTION
Avatar of seanpowell
seanpowell
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of polaatx

ASKER

Sean, you say "most email clients would likely strip out the internal reference anyways." Do you mean that there's a good chance that the 204k email she sent me doesn't even show up with images intact in most email clients? Why do email clients strip out the internal reference and if so why would people or their automated software keep sending such internally-referenced emails anyway? (She doesn't know anything about the internet and I am sure she used some Microsfot software to create this ugly thing. )
There's an excellent chance that other mail clients get an attachment, winmail.dat, that they can't use. It's definitely MS -- they want you to use Outlook, so the fancy Outlook mail features don't work anywhere else.

The easiest thing to do is just send a link to the nicely designed page you do. That way, you can have scripting, server side features, javascript, etc, and it will work as advertised. Most mail clients (even Outlook if it's patched correctly) strip out all the scripting, so none of those things work anyhow.