I have a small kmz file with images inside it, when I convert it to kml, the code looks like this.
<description><![CDATA[<img width="800" src="1.jpg"/>]]></description>
When I try to add it to my arcgis js api application, the waypoint appears fine but the image is not shown on click as seen below
The error on the console window is :
I understand the issue that the code cannot find the image path but how can I solve this problem? The image displays fine on Google Earth.