Extension talk:KML Export

From MediaWiki.org

Jump to: navigation, search

[edit] Question for anyone who can help

I love this and it is working great. The only question I had is how do I get pictures to show up in the balloons on GE? I've tried several methods and nothing seems to work. I usually just get the grey or black box in the window. Any suggestions?

Thanks.

--Mfinney 00:41, 16 March 2008 (UTC)

Hello Mfinney,
I never tried to put an image inside the description of a placemark. I just checked, and it seems that MediaWiki doesn't translate images URLs properly. KML Export installs some specific code which translates URLs like "/Article" (which would be invalid on Google Earth) to "http://yourwiki/Article". Thanks to your report I found that this code is not called when MediaWiki generates image references. I'll look for a fix for the next version of KML Export (which will take some months to be released, since I'm pretty busy right now), but as a workaround, you may just put the full URL of the image into the description. Instead of "[[Image:Xxx.png]]", write just "http://yourwiki/images/Xxx.png".
Best regards, --Juliano 19:57, 18 March 2008 (UTC)
Personal tools