Hi,
first of all thanks for the great plugin. Although I read, that you will reduce the support of this plugin I just wanted to let you know, that I added support to display images that are attached to the post. So you don’t need to use the NGG plugin if you just want to display some photos on the map. You may just use the new short code parameter attachments=true to include all images that are directly attached to a post.
I just made some minor changes in wp-gps-maps.php to support the new shortcode and added a function getAttachedImages($dt, $lat, $lon, $dtoffset, &$error) in wp-gpx-maps_utils.php, that is quite similar to function getNGGalleryImages($ngGalleries, $ngImages, $dt, $lat, $lon, $dtoffset, &$error).
You may find an archive with the changes at https://klein-gedruckt.de/wp-content/uploads/2015/03/wp-gpx-maps.1.3.6_klein-gedruckt.zip
and a summary of the changes at https://klein-gedruckt.de/2015/03/wordpress-plugin-wp-gpx-maps/ (sorry, german only).
I would be glad if you can include these changes in a future version.
Thanks again for the great plugin. :good:
Cheers
Stephan