Extension talk:KML Export

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)


 * I have a working example of images inside KML markers here. See the [locations http://www.melpedia.com.au/wiki/Template:Infobox_Location] template for how I did it Rodeoclash 11:52, 27 August 2008 (UTC)


 * Hi Rodeoclash,
 * Very good job you have at your wiki. But it also shows the problem reported by Mfinney. If you check the generated KML output, you will see that images are relative, and Google Earth doesn't work well with relative links in KML files. I'll fix this problem soon (I hope). It is a bug in MediaWiki (reported as 9355 and 15512), and I had to work around recently in another extension (Extension:Wikilog). I'll have to port the same fix to KML Export.
 * By the way, I think that your wiki is hitting the PHP's memory_limit when running KMLExport. You may want to raise the memory limit in your LocalSettings.php.
 * Thanks for using KML Export! Best regards, --Juliano 01:08, 12 September 2008 (UTC)

KML Export Encoded?
Any idea why my KML export is being encoded?

http://www.melpedia.com.au/wiki/Special:KMLExport/Bars

It was working fine a few days ago... Rodeoclash 11:33, 27 August 2008 (UTC)


 * Ignore this, incorrect use of the extension caused it.