Skip to main content

Hi guys

i want to create a kml file with jpgs inside (they are inside a local folder) and when i click on the location jpeg pops up......

i have set up my workbench like this

EmbedImages-in-KML.fmwt

but the locations and the information about the jpgs FME is writing the right way ...but what i have to do when i want the jpg to pop up?

write the path in a hyperlink or a special kml writer format attribute?

 

Greetz and thx

Franco

 

Hello @franco69​, thanks for posting! I think this is do-able with FME Form. Have you come across this article yet: Updating KML Balloon Contents & Removing "Directions"? Step 6. explains how to set balloon description using HTML content, as well as how to add an image!

It looks like you may need to use HTML to embed the JPEG in the 'Content' parameter of the KMLPropertySetter! If the file is local, you can specify the file path in the 'Additional Files' section of the transformer (for more information, see documentation) and reference that path in your HTML snippet. Hope this helps! Best, Kailin.


Reply