Skip to main content

Hi all,

I’m having issues trying to generate links within a kml file to a photos in the same folder.

First I generate the Hyperlink:

<a href="@Value(fme_basename).jpg">@Value(fme_basename)</a> 

Then I use the KMLPropertySetter

 

The link comes into Google Earth:

 

But the link doesn’t work:

\\img_2416.jpg

Not sure why there are two extra slashes!  Weirdly if I copy and paste the link into outlook or even this post, the link works, but it doesn’t work when you click on it in Google Earth.  Please can someone help me with the syntax?  Thanks.

 

p.s. I’m after a relative link so I can zip up the folder and send it on

 

 

<a href="$(FME_MF_DIR)\@Value(fme_basename)">@Value(fme_basename)</a>


I was going to say <a href="IMG_2416.JPG">IMG_2416</a> will work for you. And I can’t figure out why you would have double back slashes from the fme_basename attribute. How are you reading in the jpg to parameterize the path or name?


And to follow-up the link works when you right click and open link. not on click left click. I figure you are trying to keep this as  simple as possible for a client.