Local images and the browser widget

Stephen MacLean smaclean at madmansoft.com
Sun Jul 29 16:31:47 EDT 2018


Almost afraid to ask this because I feel like it’s a path issue with Relative vs Absolute… Remote images display fine in a browser widget, but local image files don’t seem to.

This works (displays the image) in script and in the message box:
put "<img src=" & "http://www.trumbull-ct.gov/images/BoyScouts.jpg" & ">" into tHTML

set the htmlText of widget "finished_html_content" to tHTML


This does not (Image not displayed) in script or the message box:
put "<img src=" & "file:///Users/steve/Dropbox/ITB%20pubEngine/tempMedia/995786d6-4429-4821-8b21-8e811289e12c.jpg" & ">" into tHTML

set the htmlText of widget "finished_html_content" to tHTML


Sorry about bombarding the list!

Thanks,

Steve


More information about the use-livecode mailing list