Placing .jpg into my signature using VISTA in Windows Mail

F

falmvtex

I recently read posts about the correct way to upload an image into my
signature, but am unable to successfully complete the task.

I've done two things:

1st - Copied the script...
<HTML>
<BODY>
<IMG src="file://C:\myimages\myimage.jpg">
</BODY>
</HTML>
.... and made sure that the path to my .jpg is correct, then I saved the file
in notepad as a .htm (and later as a .html) and selected the file in the
options menu from Windows Mail.

2nd -I opened a new message, created the signature I wanted (with my
name/address/etc..), inserted the image (.jpg) copied the source info. (after
selecting the source tab) and pasted that into a notepad, saved it as an .htm
and selected that file in the options menu from Windows Mail.

Unfortunately something is not right. My image is only 7KB and my .htm file
is 1KB.

If it helps, the path to my image is located from my
:c/users/myusername/pictures/myimage.jpg

Many thanks,
Felix
 
G

Gary VanderMolen

Modify the third line in the HTML script to say:
<IMG src="c:\users\myusername\pictures\myimage.jpg">

There seems to be some confusion in the samples I've seen as to whether
the path needs forward slashes or backslashes.
 
F

falmvtex

Dear Gary,

Thank you for your response, but that did not seem to correct the problem. I
can the text which displays my name, address, phone, etc.. but the image does
not show up.

I did attempt to open the .htm file in my Firefox browser, and noticed that
it does not open there. Perhaps my html script is wrong?

-Felix
 
G

Gary VanderMolen

Did you double-check to make sure that third line has the actual path
to your image file? I'm not a HTML expert, so all I can do is point you
to some tutorials:

http://www.timeatlas.com/mos/Email/General/Create_Image_Signatures_in_Windows_Mail_or_Live_Mail/ http://email.about.com/cs/oetipstricks/qt/et112703.htm http://email.about.com/cs/oetipstricks/qt/et121503.htm--Gary VanderMolen, MS-MVP (Mail)"falmvtex" <[email protected]> wrote in messageDear Gary,>> Thank you for your response, but that did not seem to correct theproblem. I> can the text which displays my name, address, phone, etc.. but the imagedoes> not show up.>> I did attempt to open the .htm file in my Firefox browser, and noticedthat> it does not open there. Perhaps my html script is wrong?>> -Felix> --> Composer,Pianist,Conductor>>> "Gary VanderMolen" wrote:>>> Modify the third line in the HTML script to say:>> <IMG src="c:\users\myusername\pictures\myimage.jpg">>>>> There seems to be some confusion in the samples I've seen as to whether>> the path needs forward slashes or backslashes.>> -->> Gary VanderMolen, MS-MVP (Mail)>>>>>> "falmvtex" <[email protected]> wrote in message>I recently read posts about the correct way to upload an image into my>> > signature, but am unable to successfully complete the task.>> >>> > I've done two things:>> >>> > 1st - Copied the script...>> > <HTML>>> > <BODY>>> > <IMG src="file://C:\myimages\myimage.jpg">>> > </BODY>>> > </HTML>>> > ... and made sure that the path to my .jpg is correct, then I savedthe file>> > in notepad as a .htm (and later as a .html) and selected the file inthe>> > options menu from Windows Mail.>> >>> > 2nd -I opened a new message, created the signature I wanted (with my>> > name/address/etc..), inserted the image (.jpg) copied the source info.(after>> > selecting the source tab) and pasted that into a notepad, saved it asan .htm>> > and selected that file in the options menu from Windows Mail.>> >>> > Unfortunately something is not right. My image is only 7KB and my .htmfile>> > is 1KB.>> >>> > If it helps, the path to my image is located from my>> > :c/users/myusername/pictures/myimage.jpg>> >>> > Many thanks,>> > Felix>> >>> >>> > -->> > Composer,Pianist,Conductor>>>>>>
 
F

falmvtex

- I'm sorry to report that I was unable to have success using the links. In
terms of double checking the actual path to my image file, I located that by
finding the image in my Windows Explorer, selecting properties, and copying
the location to the HTML notepad document (being sure to include the actual
name of the file as for some reason, the location name stops after the folder
which the file is in (ex. User\Username\Pictures || instead of ||
User\Username\Pictures\name_of_file.jpg"> )

So.... what else is there for me to do? I wish to reiterate that when I open
the .HTML file in a web browser, the image does not display, just that box
with a red "X". I would love to solve this mystery.

Thanks again for your help,
Felix
 
G

Gary VanderMolen

You may want to post the contents of your HTML file here.
Sometimes another pair of fresh eyes will spot a small typo.
 
F

falmvtex

My first attempt:

<HTML>
<BODY>
<IMG src="c:\Users\Felix\Pictures\digital_signature_sign.jpg">
</BODY>
</HTML>

My second attempt (via creating the file in Windows Mail, finding the source
code, and pasting it in notepad and saving it as htm):

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6001.18063" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2><IMG
src="C:\Users\Felix\Pictures\digital_signature_sign.jpg"></FONT></DIV></BODY></HTML>
 
X

Xiov

I think your error might be that the image your linking to is on your c drive
and not attached to the email. Try attaching the image to the email and
changing the path in your html code to reflect its new location.
 
X

Xiov

An easy alternative would also be to save the image online and then
reference it in your html (which is what most people do)
 
G

Gary VanderMolen

Admittedly I'm no HTML expert, but I don't see any obvious mistakes
in your coding. In fact, I took your first attempt, changed the path slightly
to point to a photo in my Pictures folder, saved the file as test.htm. Then
I double-clicked on the file name and it opened the photo correctly in IE.
 
F

falmvtex

Dear Xiov,

Could you please elaborate? I'm not quite sure what you mean technically.

Thanks,
Felix
 
F

falmvtex

Could you please elaborate on this one too? How does one save an image online?

Thanks,
Felix
 
F

falmvtex

Dear Gary,

Here's a new wrinkle. I was able to open the .htm image in IE but not
Firefox. I'm not sure why that is....


--
Composer,Pianist,Conductor


Gary VanderMolen said:
Admittedly I'm no HTML expert, but I don't see any obvious mistakes
in your coding. In fact, I took your first attempt, changed the path slightly
to point to a photo in my Pictures folder, saved the file as test.htm. Then
I double-clicked on the file name and it opened the photo correctly in IE.
 
G

Gary VanderMolen

I don't know, but it sounds like you are making progress if the image
opened correctly in IE.

When you reference that .htm file in WM's signatures, make sure
the path is somewhere under C:\Users\Felix\.
Other paths may not have the requisite access rights.

--
Gary VanderMolen, MS-MVP (Mail)


falmvtex said:
Dear Gary,

Here's a new wrinkle. I was able to open the .htm image in IE but not
Firefox. I'm not sure why that is....
 
F

falmvtex

Dear Gary,

I believe I found the simplest answer to my problem. I went to
TOOLS/options, and instead of the signatures tab, I inspected the security
tab. In that tab I had UN-checked "Block images and other external content in
HTML e-mail". As soon as I did that, my .jpg appeared.

Thanks for your help,
Felix
 
F

falmvtex

So I was able to open the image in Internet Explorer, and then saved it with
a new name. Then I opened it in Firefox to be sure I could see the file. The
properties of the file when I opened it in Firefox are:::

file:///C:/Users/Felix/TExASign.jpg

So I copied and pasted this extension into a new message, and copied the
source code into a new Notepad. The following result ::

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6001.18063" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2><IMG
src="C:\Users\Felix\TExASign.jpg"></FONT></DIV></BODY></HTML>

This text on top of the fact that I unchecked the security box which
"Blocked my .HTML files from opening" gave me success.

Best,
Felix
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top