Hi all,
This is a very simple task but I cannot figure out how to solve it. I'm working with AppBuilder Developers Edition. I created an informative panel with text and I would like to insert some images.
Simple, only add the img tag and then point to the image with the src parameter. something like this:
<div>
<p> here some text <img src="my_image.png" /> more text </p>
</div>
However the image doesn't appear. The div is in a html file which is in the widget's directory. Initially I tried with the image located in the widget/images directory so I used src="/images/my_image.png" without success. Then I put the image in the same directory of the html changing the src to src="my_image.png", but whitout success again. I also tried with src="/widget/my_image.png" but same result.
The div is place and removed in the panel programmatically and this works fine. My guess is that I can access the correct path of the image because the origin of reference has changed and I don't know how to figure out what it is.
Thanks
Alfonso