Login | Register | FAQ
Anonymous

Image links don't work for others

+ Post a reply

3 posts Page 1 of 1


Re: Image links don't work for others

by HTML.net » Wed Sep 29, 2010 9:27 am

Hi CubeSquare,

It has nothing to do with Irfan View. A HTML email works very much like a web page: the HTML contains a reference to the images which is then downloaded and displayed in the e-mail. If the images is located on your computer only you will be able to see them.

To make it work you can one of two things:

1. You can upload the images to the internet and include the full url in your image reference:
<img src="http://www.myserver.com/image.png" />. When somebody opens the e-mail it would connect to the internet and download and display the image.

2 Or you can embed the images in the e-mail. A kind of hidden attachments. It's a bit more complex. Try to google "embed image in e-mail".

But be aware that most e-mail clients (including Gmail, Outlook etc) for security resons don't show images unless the user choose to allow it.

Also, be aware that it is quite difficult to create HTML e-mail that looks nice in all e-mail clients.

Good luck,

- Andreas, HTML.net
User avatar

HTML.net
Site Admin

  • Posts: 1194
  • Joined: Sat Sep 11, 2010 11:24 am
--
Show some love for HTML.net on Twitter, Facebook and Google: Use the buttons on top of all pages.

Re: Image links don't work for others

by HTML.net » Wed Sep 29, 2010 5:42 pm

Ah, I see. I think you can do one of two things then:

You do as described above: upload the images to the internet and include the full url in your image reference: <img src="http://www.myserver.com/image.png" />. When somebody opens the e-mail it would connect to the internet and download and display the image. Then you would only need to include the HTML-file in the e-mail. I would recommend this solution.

Or you could zip the folder with HTML-file and images before sending it. Then the recipient needs to un-zip the folder. This way you make sure the HTML-file and the images "stay together", I think.

Maybe somebody else has a better solution?

- Andreas, HTML.net
User avatar

HTML.net
Site Admin

  • Posts: 1194
  • Joined: Sat Sep 11, 2010 11:24 am
--
Show some love for HTML.net on Twitter, Facebook and Google: Use the buttons on top of all pages.

Re: Image links don't work for others

by weblydigital » Sat Jul 13, 2019 6:54 pm

You have to upload those images on a server that is the best way.
User avatar

weblydigital

  • Posts: 4
  • Joined: Wed Sep 05, 2018 8:27 am
  • Location: India
--
Webly Digital
Digital Marketing Consultant


+ Post a reply

Page 1 of 1