登录 | 注册 | FAQ
Anonymous

Image links don't work for others

+ 发表回复

2 篇帖子 分页: 1 / 1


Re: Image links don't work for others

HTML.net » 周三 9月 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
头像

HTML.net
Site Admin

  • 帖子: 1194
  • 注册: 周六 9月 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

HTML.net » 周三 9月 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
头像

HTML.net
Site Admin

  • 帖子: 1194
  • 注册: 周六 9月 11, 2010 11:24 am
--
Show some love for HTML.net on Twitter, Facebook and Google: Use the buttons on top of all pages.


+ 发表回复

分页: 1 / 1

cron