Hi,
I want to insert a picture into HTML document. ( Using NT 14.38 and C 11.1).
this code works: '<p> <img src="C:\A\KEYDROP.JPG" alt="Picture of keys" </>' & '</p>'
BUT IT WILL NOT TAKE A VARIABLE for the name '<p> <img src="loc:photoname" alt="Picture of keys" </>' (does not work…)
How can I use a variable name for photo to insert into the HTML?
THanks,
Ron
This takes a working HTML file (ie double click to view in your web browser), and parses & processes the image location into the CID:Image.ext format and adds the image files to the HTML part of the email as an attachment.
I’m sure Capesoft did a demo app to show a working example. Its a long time since I’ve used Nettalk and some of it has changed alot.
I would start with a simple HTML email, one picture embedded.
There is also this which might work.
This link gives an over view of the problems or differences to expect.
You dont say what your email client is.
If using web based ones, some will block images if they have to be loaded off a website, some wont, its because its useful for tracking when someone reads the email and getting their IP address.
In the past, my systems have used the CID (Content-ID) format to embed pics in html like below. It worked but I havent done anything like this in over a decade now and I dont know what new standards have come into play.