On 12/11/2019 6:38 PM, Paul Dupuis via use-livecode wrote:
This is not directly related to LiveCode. I amwriting a bunch of html
from LiveCode to a local .html file. In it there are image tags to
images in the same location as the .html file, so an image tag in the
HTML might be:
<img src="img-500227-PDF.gif" char=" ">
Not matter what browser I open the HTML file in under Windows 10
(Firefox or Chrome), the image links are broken. When I roll over one
(such as the above) it shows
file:///C:/Users/paul/Desktop/help/img-500227-PDF.gif
My understanding of HTML src paths is that for just a file NAME, the
browser should look in the same folder as the html page file?
Anyone know what you need to do to get relative image source paths to
work in HTML written from LiveCode?
User error. The images were all "bad" because I was using export image
.. to file tFile and forgetting the "as <format>. I assumed that if you
didn't specify the format, it would export in the format the image was
in (i.e. gif to gif).
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode