AllAboutLearningPress / Photo-Storage-and-Gallery

Share photo assets with all users in an easy to use gallery with a powerful backend.
3 stars 2 forks source link

Family tree and related image functionality #40

Open dyner opened 3 years ago

dyner commented 3 years ago

We will be using automatic image recognition to detect if an image is in the same family tree (derived from the same source). This will save the user from having to manually find and link images together.

In the UI we need to add to the photo view a small gallery with:

I'm thinking that we can fit this gallery section under the image so the user can scroll down to see it.

andreyvolokitin commented 3 years ago

So basically same main gallery view, but under the photo

AllAboutLearningPress commented 3 years ago

So basically same main gallery view, but under the photo

Yes, that's what I'm thinking. I'm open to any suggestions.

andreyvolokitin commented 3 years ago

That should be fine. Alternative would be going to a separate page. But if it can be fit under the image, not much change. Though sidebar show/hide will introduce more visual jank because now not only image is resized, but also a whole gallery things recalculating

andreyvolokitin commented 3 years ago

Visual jank meaning animation stuttering while opening/closing a sidebar, and it actually happens. Also this will introduce more "scrollbar clutter" (sidebar and page scrollbars): https://i.imgur.com/q4GKVib.png

Possible solutions:

AshrafAkon commented 3 years ago

I think the image details should be on a permanent sidebar. Because whenever user clicks on a image from related galleries it will open another page for that image. So we dont need to open/close side bar for all of the image. The sidebar on right should only be for the image its showing. Also we can get away with showing 8-10 related images and a show-more button. That show more button will load more images if requested by user. Same goes for the "derivatives".

andreyvolokitin commented 3 years ago

I think the image details should be on a permanent sidebar. Because whenever user clicks on a image from related galleries it will open another page for that image. So we dont need to open/close side bar for all of the image.

Sidebar is saving it's open/closed state between page renders