Reputation: 1665
I am having an issue with getting some thumbnail jpeg images to pop-up when I click on point locations I have in a kml. I know that I need to set the image location and when I use the full file path for this it seems to work just fine, but as soon as I try to set this as a relative path it stops working.
I have a folder, inside which is my kml and another folder called 'files' where I have my jpeg images:
my_kml
--my_kml.kml
--files
--thumbnail.jpg
In the kml itself, for each point I have the img specified using the full path:
<img style="max-width:500px;" src="file:///Volumes/my_data/my_kml/files/thumbnail.jpg">
When I try to convert this to a relative path so I can share it with colleagues, it does not show the image. I have tried many iterations of:
../files
./files
but when I zip up the 'my_kml' folder and change the .zip to .kmz it does not find the images.
Can anyone help me with the directory structure of a kml folder to get it to read my thumbnail images?
Upvotes: 0
Views: 19