Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grid view: Change columns with pinch zoom (like google fotos) #1402

Open
tobiasKaminsky opened this issue Jan 5, 2016 · 19 comments
Open

Grid view: Change columns with pinch zoom (like google fotos) #1402

tobiasKaminsky opened this issue Jan 5, 2016 · 19 comments

Comments

@tobiasKaminsky
Copy link
Contributor

currently it is hardcoded to three colums if I remember correctly.
What about a slider which changes this directly between 3 and 10 (or something higher)?

@jancborchardt Where can we put this? It should be directly in the grid view? Behind the three dots?

@jancborchardt
Copy link
Member

I would rather not have an option for it as it’s something the app should take care of and be properly designed. We currently do a nice job of adjusting to portrait and landscape (3 columns in portrait on my device, and 5 in landscape).

@tobiasKaminsky
Copy link
Contributor Author

Hm...What if you want to browse your images really quick? Then it would be great that one can adjust the column number...

@cornzy
Copy link

cornzy commented Jan 6, 2016

@tobiasKaminsky I would prefer just pinch zoom on the grid (like you have it in the gallery). No need for sliders and most intuitive. But I agree with @jancborchardt that it needs to be properly designed and it is not that easy.

@tobiasKaminsky
Copy link
Contributor Author

@cornzy pinch zoom? In which gallery? I have never seen this.
But this would be the best way, I think.

@cornzy
Copy link

cornzy commented Jan 7, 2016

@tobiasKaminsky never seen or never tried ;) I had it in Sony's gallery app, now with my galaxy s6 in Samsung Gallery and even in Google Foto.

@tobiasKaminsky tobiasKaminsky changed the title Grid view: Change columns via slider Grid view: Change columns with pinch zoom (like google fotos) Jan 9, 2016
@tobiasKaminsky
Copy link
Contributor Author

Google foto is doing a great job.
Thank you for pointing this out.
@jancborchardt I think this is the best way (if we want to implement it)

@jancborchardt
Copy link
Member

Hm, sounds ok. We definitely need to set sensible max and min values as well as zoom steps. What does Google Photo do?

@AndyScherzinger
Copy link
Contributor

Google Photos zooms time and size:
when you zoom out the images get smaller and it changes the grouping. Google photos uses sticky header where the smallest grouping is day and the larges is year. The groups gets more fine grained the more you scroll down (move back in time) and it also gets more coarse grained the more you zoom out. Very tricky but smart way (for photos)

@jancborchardt
Copy link
Member

Ah ok, same as iPhoto on iOS then, grouping by event/location/time.

@AndyScherzinger
Copy link
Contributor

Exactly. We do not have any grouping at all at the moment and I guess if we would like to introduce this we could only do time since anything else would be something that needs a lot of processing and if so should be something done on the server side (if ever). The other thing would be that we would have to add Headers to the grid view so the UI for images/videos would differ from any other.
So for starters we should probably leave out any grouping logic.

@jancborchardt
Copy link
Member

Yeah. But in any case I don't see this as a high priority because the default is pretty good atm.

@tobiasKaminsky
Copy link
Contributor Author

My idea was to "just" adjust the size to see more images at once. Nothing more, nothing less.
@jancborchardt Of course it is not high priority, but something I think is nice for me, so I am more into developing this than something else right now ;)

@jancborchardt
Copy link
Member

Ok, then just to answer any spec questions in case you want to dive in :)

  • Since we currently do 3 pictures in the width of a normal device (at least on my Moto G that’s the case), the second view should likely be 5 pictures in that width. That will effectively display about double the amount of pictures, or even more depending on the height.
  • The switch between the two views should be done by a simple pinch gesture, not by an interface element.
  • The default is the current 3 pics per width. The view setting is remembered per folder, and also for subfolders (basically exactly like we do with the grid/list view).

Sounds good?

@tobiasKaminsky
Copy link
Contributor Author

@jancborchardt
My current approach is

  • minimal 3 columns
  • increasing by +1/-1 while pinching
  • yes, only pinching is needed
  • no view setting is being remembered. Do you think this is neccassery? I imagined this feature "just" for quick browsing the files and not having this remembered...?

@tobiasKaminsky
Copy link
Contributor Author

Update: The zoomed grid is being remembered for all grids, but only for the current app session. If one restarts/force closes the app it is set to default column size 3 again.

@jancborchardt
Copy link
Member

Good stuff. Except I would say that the remembering should be done permanently or not at all. Otherwise it's quite confusing when you restart.

@tobiasKaminsky
Copy link
Contributor Author

@jancborchardt this is now implemented.

@davigonz
Copy link
Contributor

davigonz commented Mar 21, 2019

@michaelstingl this feature looks interesting and is still used by Google Photos, have a look

Mar-21-2019 15-13-15

And there's a PR (#1466) with the implementation that we could try to merge or at least adapt its code to our current app.

Reopen it?

@michaelstingl
Copy link
Contributor

@michaelstingl this feature looks interesting and is still used by Google Photos, have a look

Looks amazing 👍

@JuancaG05 JuancaG05 removed this from the backlog milestone May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants