home-gallery icon indicating copy to clipboard operation
home-gallery copied to clipboard

[improvement] Display geolocated photos on a map

Open asitemade4u opened this issue 2 years ago • 4 comments

HG is really good at reading photo metadata. It would be great to use the geolocation metadata to display thumbnails of photos on a map, like digiKam and PhotoPrism do.

asitemade4u avatar May 16 '22 15:05 asitemade4u

Yes, indeed. This feature is missing and I could use it, too.

The reason why this is missing: it was not yet important for me on daily basis. It would be gorgeous for presenting my demo page with all the places I have been and would have a massive wow effect. The effort for the wow effect is not small.

This feature is on my list after the automatism actions, described in #35.

xemle avatar May 22 '22 19:05 xemle

I am testing the new map feature for geo located photos. Please have a look at the demo map and leave comments here

xemle avatar Aug 17 '22 20:08 xemle

Hi

Sounds good! 1/ How do you see the pictures of a cluster? Sometimes you can zoom it to differentiate, sometimes not like here:

2/ when you see a photo full screen you cannot go back to map view but only to the classical view (or I didn’t find it)

Le 17 août 2022 à 21:27, Sebastian @.***> a écrit :

 I am testing the new map feature for geo located photos. Please have a look at the demo map and leave comments here

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

darrepac avatar Aug 17 '22 21:08 darrepac

Thank you @darrepac for taking the time.

  1. I've updated the demo map to see some preview of the cluster. When you click to a cluster, up to 16 squared small preview images are shown with the date range. You can click on the cluster and see only images of the cluster

  2. You can enter the map from an image by showing the details via the info icon. There you can click on the geo location and the map opens.

If you are on the map and open an image and you can see the full screen image. If you click on the stream image you should see the stream with the selected image.

xemle avatar Aug 19 '22 18:08 xemle

As this feature looks already developed (looking at demo map) - are there any chances releasing it soon?

MarioSob avatar Oct 19 '22 10:10 MarioSob

Hi @MarioSob

Thank you for the request

TL;DR I'm on it.

Since the used leaflet react library for the map requires react 18 I am also upgrading react. This leads to further migration tasks of other libs. It is a bit of yak shaving and takes more time.

I could provide the map development branch to github and as binary if that helps?

xemle avatar Oct 20 '22 06:10 xemle

Hi @xemle It's not that urgent. I was only afraid the interest in developing this is lost and that would be a shame at such advanced stage like in demo gallery. I use docker image anyway so full release with image built is what I'm interested the most. I'm happy to hear it's on its way. Also I slowly started probing feature sets of other galleries just to have this single feature. I wanted to know if it makes sense looking for alternatives if I can simply wait for next release. Thank you.

MarioSob avatar Oct 20 '22 08:10 MarioSob

Hi @MarioSob

Thank you for your quick and hones reply

I use docker image anyway so full release with image built is what I'm interested the most.

I published the WIP feature/webapp-map branch. Than you can build your own docker image based on the branch (see docs for hints) and test the map feature to check if it fits your needs. ...and you can provide some valuable feedback.

If you have further questions, please drop a note

xemle avatar Oct 20 '22 19:10 xemle

Thank you, @xemle I actually failed on using the application form the branch. I've cloned out repo from git, checked out the branch you prepared, performed build which finished with "Successfully tagged home-gallery:latest" but after all docker-compose downloaded and used official image ignoring the whole process... I don't know how to force it to use the image I've just built. BTW: docs should instruct to use "git clone" instead of "git checkout". BTW2: Suggestion on demo gallery: I think there is no point in showing "Show map of entry" button on pictures that have no GPS tags in EXIF (so clicking it does nothing).

MarioSob avatar Oct 30 '22 15:10 MarioSob

Thank you, @xemle I actually failed on using the application form the branch. I've cloned out repo from git, checked out the branch you prepared, performed build which finished with "Successfully tagged home-gallery:latest"

Congratulations! Good job

but after all docker-compose downloaded and used official image ignoring the whole process... I don't know how to force it to use the image I've just built.

Maybe you need to use your local docker image by home-gallery instead of the public official xemle/home-gallery. So please update your docker-compose.yml.

BTW: docs should instruct to use "git clone" instead of "git checkout".

Thank you. I will fix this typo next time.

BTW2: Suggestion on demo gallery: I think there is no point in showing "Show map of entry" button on pictures that have no GPS tags in EXIF (so clicking it does nothing).

True. Thank you for that feedback. I will also honor this next iteration.

xemle avatar Oct 31 '22 12:10 xemle

Hi @MarioSob

I've published version 1.7.0 with the new map feature. You can use the official image by now. Thank you for your patience.

The doc with the git clone typo has been updated.

xemle avatar Nov 02 '22 12:11 xemle

Hi @MarioSob

BTW2: Suggestion on demo gallery: I think there is no point in showing "Show map of entry" button on pictures that have no GPS tags in EXIF (so clicking it does nothing).

I can not follow you with your description. Could you send a screenshot if possible?

xemle avatar Nov 02 '22 12:11 xemle

Hi @xemle Thank you for publishing new version, that makes things easier. I will provide you more details soon as it turned out my destination environment is malfunctioning and I need to put it back together first. :-/

MarioSob avatar Nov 02 '22 19:11 MarioSob