Image path folder
I have a problem, I put into my app a folder (not a group, then folder blue) where I put some image. I read from database an html text that was dis开发者_如何转开发play on a webviewpage. The problem is when I try to display an image with a
<img src="file:///folder/subfolder/image.png">
the image wasn't display. Until I used a group (using full path) all works great now if I put the image of the folder nothing, not work :(
Your question isn't too clear, but you should try using relative instead of absolute directories. For example:
<img src="subfolder/image.png">
...if the image is in "folder/subfolder/image.png" and the HTML file in "folder".
精彩评论