improved gpx image embedding