?
Solved

referenced image in email not showing up

Posted on 2009-04-29
7
Medium Priority
?
207 Views
Last Modified: 2014-05-31
I want to send someone an email with an image in it so that he can forward it to his clients.  I have a gif on an ftp server, and created an html file in GoLive to reference it.  I then installed the html file into Outlook as Stationary.  I sent an email to myself and a coworker, and the image showed up fine.  She then forwarded the email to me, and two other coworkers as a test.  The image showed up fine for them, but in mine it showed up with the infamous red x box.  I looked at the code in this email and couldn't find the file name for the gif, which is Follow-up-NIGA-email_TallBear.gif.  Maybe if you look at the code you can help me?  Thanks.
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
 
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>TBG</title>
<link rel=Stylesheet type="text/css" media=all href="css/basic.css">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Verdana","sans-serif";
	color:black;
	font-weight:normal;
	font-style:normal;
	text-decoration:none none;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>
 
<body lang=EN-US link=blue vlink=purple>
 
<div class=Section1>
 
<div>
 
<div>
 
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'><a href="http://www.tallbeargroup.com/"><span style='text-decoration:
none'><img border=0 width=701 height=867 id="_x0000_i1025"
src="cid:image001.gif@01C9C8A9.B4444110"></span></a><o:p></o:p></span></p>
 
</div>
 
</div>
 
</div>
 
</body>
 
</html>

Open in new window

0
Comment
Question by:mcwlex
  • 3
  • 2
5 Comments
 
LVL 5

Expert Comment

by:blacksix
ID: 24263600
yea that's not gonna work. You need to change where is says img src="cid bla bla bla to this

img src="ftp://username:password@hostaddress:21/path/to/image/folder/image_name.jpg"

ftp generally needs to authenticate to get the files, if not you can just change it to

img src="ftp://hostaddress:21/path/to/image/folder/image_name.jpg"

you can leave out the :21 after the host address but if you ftp server is set up on some other port besides port 21 it wont work, you will need to change it to whatever the port is like hostname:8080 if its on port 8080 etc.

hostname you obviously replace with the domain name or ip address that corresponds to your ftp server.
0
 

Author Comment

by:mcwlex
ID: 24263915
What I don't understand is how the code would change when being forwarded to me.  The email was sent to me and a coworker, and she was able to see the image fine.  The source code is exactly the same as it was in my email, and yet the image appeared fine on her computer.  Any ideas?
0
 
LVL 5

Expert Comment

by:blacksix
ID: 24264385
I don't know the specific details of how that method of embedding an image works - I just chalk it up to a convaluted microsoft trick lol
It is something microsoft uses and is not very friendly to sending to other clients etc. It's my assumption that the image is embedded in the email and this relationship breaks if it is taken out of an outlook environment etc etc etc. Not reliable at all.

I would always stick to the rule of thumb that if you can put the source in a text editor and save it as email.html and open it in your browser and it shows your images, it will be ok to send it - if not, don't consider it reliable.

You're on the right track with saving it on a server although a web server is a bit more standard than an ftp server both will work if configured properly. good luck.
0
 

Author Comment

by:mcwlex
ID: 24264650
The html file opens fine in Explorer, and my coworkers and I who have been emailing back in forth with these test runs are all on Outlook 2003.  I can't really think of a more fool-proof way of sending an image via email, unless I embed the image in the email, but I know that's not proper "netiquette".  Any other ideas?  Anyone?
0
 

Accepted Solution

by:
mcwlex earned 0 total points
ID: 24265499
I think I found the solution: images in the email don't show up in Outlook when the sender is using Word as the editor.  You have to go into to Tools > Options and click on the Mail Format tab, and uncheck the box for Use Microsoft Office Word 2003 to edit e-mail messages.  Somehow it seems to do some really crazy things to the code.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
The viewer will learn how to count occurrences of each item in an array.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
Suggested Courses
Course of the Month17 days, 8 hours left to enroll

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question