Web lists-archives.com

Re: How do I load images from the location of the html file?




On 07/18/2018 02:16 PM, T wrote:
Hi All,

I am working on a fancy signature block for Thunderbird

I would like to remove the absolute path from:

src="file:///home/CDs/aa/bb/SignatureBlocks/abc.jpg" height="100" width="100"><img

And replace it with something that will pick up the
image from the same location as exists the html file.

This does not work:

src="file://./abc.jpg" height="100" width="100"><img

The location of the html file will vary!

Many thanks,
-T


Figured it out.  I was too easy

     src="abc.jpg" height="100" width="100"><img

Passed W3C validator too!

-T
_______________________________________________
general mailing list
general@xxxxxxxxxxxxxxxxx
https://lists.mozilla.org/listinfo/general