android icon indicating copy to clipboard operation
android copied to clipboard

Feature Request: flickr style thumbnail view of images

Open PartisanEntity opened this issue 13 years ago • 99 comments

It would be great if there could be a choice of various "views" for images/image folders.

A flickr style view for example, showing thumbnails of images.

PartisanEntity avatar Aug 09 '13 18:08 PartisanEntity

I really like this idea.

enoch85 avatar Aug 10 '13 14:08 enoch85

Hello,

I like it too, but I think it's related to https://github.com/owncloud/core/pull/4022 and then with https://github.com/owncloud/apps/issues/1095

Android app should benefit from that too (see https://github.com/owncloud/android/issues/59 ,https://github.com/owncloud/core/issues/86)

Perhaps we could merge these topics into one single topic?

Thank you!

etiess avatar Oct 07 '13 23:10 etiess

@davivel, what do you think about merging with https://github.com/owncloud/android/issues/59 ?

etiess avatar Nov 07 '13 22:11 etiess

Would be great if any Flicker user took the time to explain a bit what's the Flicker style. Thanks.

davivel avatar Nov 14 '13 17:11 davivel

I think that a simple Gallery view, similar to the standard one of Android, is what @PartisanEntity means. (correct me if I'm wrong). So a gallery with thumbnails (small thumbnails sent by the server), and then, if you click on a picture, a bigger picture is shown, but with a resolution adapted to mobile (in order to increase the download speed and limit the amount of data): this picture is prepared and sent by the server.

So I totally agree with @davivel: the first step is to implement it on the server, which is the task of https://github.com/owncloud/core/issues/86. After that, it will be possible to implement it on client side.

Further improvements can be done after that:

@skomorokh commented in https://github.com/owncloud/apps/issues/1095

Pretty much a required feature for use as a gallery. But sometimes you'll want to zoom in or grab a copy of the full image so it's important to provide a link back to the original.

As for running out of space, perhaps a cache expiration that removes the least recently used ones? You could set a max for the cache and it would prune to that or the remaiing quota, whatever is smaller. And try and free up space from the cache when the quota is hit. Something like that?

Preloading of pictures could be done too, in order to improve the experience and visualize a diaporama faster.

etiess avatar Nov 14 '13 22:11 etiess

A lot of good ideas a see here, @etiess. Sadly, I can't promise anything about what of them will be feasible in the end. You can be sure we would be very happy if received contributions in this sense.

davivel avatar Nov 15 '13 10:11 davivel

Unfortunately, I'm not a dev... So I try to help by testing, suggesting and translating. But I understand that it's not a high priority: imo, you're fully right to give priority to stability, quality and performance of file sync.

These additional features will come later, hopefully!

etiess avatar Nov 15 '13 10:11 etiess

Hey, although not a developer, tests, suggestions and translations are very welcome contributions. So feel free to come over here and comment your impressions or ideas whenever you want.

And the same for everybody around the repo.

davivel avatar Nov 18 '13 13:11 davivel

Would be great if any Flicker user took the time to explain a bit what's the Flicker style. Thanks.

This is the flickr workflow on their app:

  1. user taps on a folder that contains images
  2. flickr opens that folder and displays all images as thumbnails
  3. only those thumbnails that fit on the device screen are loaded at a time, so as you scroll down, more thumbnails are loaded
  4. tapping on a thumbnail displays the full screen view of that image (swiping left or right in full screen view display the previous or next image)

Attached is an image of what this looks like (image found on the net). mobileflickr1

PartisanEntity avatar Nov 27 '13 20:11 PartisanEntity

+1 for this Idea! Waiting for realization...

apramhaas avatar Mar 15 '14 20:03 apramhaas

+1 very important feature for finding a picture and share it with friends mobile.

menaceone avatar Apr 15 '14 21:04 menaceone

Currently I am working on #317. So this might be related. As it better fits here, we should discuss:

  1. How is this gallery view enabled?
  • by threshold
  • by user decision
  • ...
  1. What happens with files that are no images and therefore have no meaningful preview?
  • filter them out (only when user can decide to switch to this view)
  • display mimetype-icon and filename (could be problematic if filename is too long)
  • ...

tobiasKaminsky avatar Aug 09 '14 10:08 tobiasKaminsky

@tobiasKaminsky

  1. At the moment, the gallery view should be enabled by threshold. If there’s more than 80% pictures in the folder, go for gallery view.
  2. For non-images: display their file type icon and filename (ellipsize filenames when too long)

That said, having the thumbnails in the normal default list view is more important for now. :)

jancborchardt avatar Aug 09 '14 12:08 jancborchardt

Current state of the art:

screenshot_2014-09-15-20-13-51

Rotating is working, so the same file will be on the top left position. Ellipsize is in the middle of the filename. The number of columns is auto defined: An image is set to 150dp (Nexus 4: 2 columns, Nexus 7 in portrait: 3 columns).

@jancborchardt What do you think?

tobiasKaminsky avatar Sep 15 '14 18:09 tobiasKaminsky

@tobiasKaminsky :+1:

enoch85 avatar Sep 15 '14 20:09 enoch85

@tobiasKaminsky can we first have the thumbnails in the normal list view as well? A bigger thumbnail view we can also do, but first we should enhance the current view (as mentioned before). Is that ok? cc @davivel

jancborchardt avatar Sep 16 '14 11:09 jancborchardt

@jancborchardt This is done in #586. It is currently by purigarcia and then will be merged into develop. The bigger thumbnail view is, of course, only wise/meaningful when the #586 is implemented. But as I had a little spare time, I thought I could try the image grid view while waiting to get the other in develop branch.

tobiasKaminsky avatar Sep 16 '14 11:09 tobiasKaminsky

Ah, ok. Cool then! :)

When the filetype icons are also displayed bigger, you need to supply proper big versions of them. Here are the SVG sources: https://github.com/owncloud/core/tree/master/core/img/filetypes

jancborchardt avatar Sep 16 '14 12:09 jancborchardt

Is it okay that in both cases (images and other files) none of the icons are displayed: favorite, downloaded, etc.? Or should I add them? What about date for "other files"?

tobiasKaminsky avatar Sep 16 '14 20:09 tobiasKaminsky

  • The badges like favorite and downloaded should definitely be present in this view as well.
  • Modified date, and even the filesize, I would say you can leave out of this view for now.

jancborchardt avatar Sep 17 '14 12:09 jancborchardt