xemle / home-gallery

Self-hosted open-source web gallery to view your photos and videos featuring mobile-friendly, tagging and AI powered image discovery
https://home-gallery.org
MIT License
836 stars 64 forks source link

Feature/separate rects button #133

Open dukobpa3 opened 7 months ago

dukobpa3 commented 7 months ago

Added buttons to on/off objects/faces rects on photos. Now we can hide rects while details opened and show them while details closed

Why: • on mobile not so comfortable to navigate with opened info panel so I prefer to hide it. But I want to be able to click on objects • on desktop info panel mostly opened but I want to hide rects and see clean pictures because I can click on tags in panel

image

And also changed couple icons in the main menu

dukobpa3 commented 7 months ago

found little bug it shows button on videos also

xemle commented 2 months ago

@Dukobpa3 what are the status of this PR? Are you still working on it?

dukobpa3 commented 1 month ago

I see you've cherrypicked it already. But the still bug which I've not fixed. This button shown on videos also. I wanted to show only if relevant.

dukobpa3 commented 1 month ago

@xemle Fixed. Button will be shown only if there is any rect Ready to merge

And also updated icons from this one: https://github.com/xemle/home-gallery/pull/132

xemle commented 1 month ago

Cool. Thank you for the update and your contribution. I will have a look in the next days. The code looks fine so far.