I don’t know if a simple solution exists.
Mine was rather convoluted. I’m starting to create a Hugo blog, and for that I use RStudio, running the R statistical software and the blogdown package to generate my Hugo website. The pages are based on rmarkdown markup language which uses pandoc to render the html pages. This is because I like data sciences and I use R a lot at work for scientific data analyses. From R, and using different packages, I can call exiftool in a picture folder to read to create a table with the image names and their geolocation. This table is used to create an html widget, which renders an OpenStreetMap with markers on it, and when I click on the markers it opens the corresponding image.
When I finish setting up my blog, I’ll probably make a post on pixls.us to show how I did it. All the tools I use are open source I think, so I think it fits on pixls.us.