Images when setting the htmlText of a field

Ray Horsley Ray at LinkIt.Com
Thu Jan 14 16:45:48 EST 2010


Greetings,

I've tried setting the htmlText of a fld to this html (below) both URL  
encoding the image path and by leaving in plain text (with spaces).   
Neither way displays the image.  Nonetheless, if I save this as a file  
and open it in Explorer or Safari (on my Mac) the image is displayed  
perfectly.  Any ideas what I'm doing wrong?

Thanks,

Ray Horsley
LinkIt! Software

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd 
">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
     <title>Untitled Page</title>
</head>
<body>
<span class="class1"><b>The volume of a marble is 1.8 cubic  
centimeters <img
src="http://www.linkit.com/EItemBank/ETS%20Formative%20Assessment%20Item%20B
ank/Science/Grade%205%20QTI/SCI%20G5%20P4/images/mml1738861.png" />  
Which of
these tools determines density?</b></span>
</body>
</html>


More information about the use-livecode mailing list