Skip to content
This repository has been archived by the owner on Nov 14, 2018. It is now read-only.

Feature request - Please develop pictures sorting by 'date taken' in gallery app #503

Closed
happysysadm opened this issue Feb 1, 2013 · 17 comments

Comments

@happysysadm
Copy link

Hi,

one of the feature I appreciate more is the possibility to share pictures with friends.

Nonetheless I reckon that this app misses an important feature: in preview mode, the photos are sorted by filename and can't be sorted by date taken, which would be what I expect.

Is it possible to add this feature?

Thanks in advance!

@DeepDiver1975
Copy link
Contributor

We accept contributions. Feel free to submit a pull request. ;-)

@MorrisJobke
Copy link
Contributor

cc @icewind1991

opposite of #1013?

@jancborchardt
Copy link
Contributor

@MannyRik @allo- did you try out the code from #754, and did that solve your problem? Or does it need to be adjusted?

cc @gunnicom @rvrignaud @ccoenen also check out #1013

@allo-
Copy link

allo- commented Apr 18, 2013

Hi. I did not try anything but the official 5.0.3 release.

"Date Taken" (from Exif?) sounds good, if available. But if there is no exif-date, i would suspect the filename is the more stable criterion than the file-modification-time.

@rvrignaud
Copy link

""Date Taken" (from Exif?) sounds good, if available. But if there is no exif-date, i would suspect the filename is the more stable criterion than the file-modification-time."
+1

This commit (https://github.com/gunnicom/apps/commit/5b700e25dfeb7d1f487bd099eb8b3c79b365ba37) fixed my problem.

Thx

@jancborchardt
Copy link
Contributor

For a good example on how sorting by date works very well – and is even taken a step further – take a look at the iOS 7 pictures app:

To the right, there are automatically dividers between groups of photos based on time. If there were 3 days for instance where a bunch of photos have been taken, and none the days before and after, there would be a divider before and after.

@jancborchardt
Copy link
Contributor

cc @owncloud/designers on this too, if anyone wants to take a stab at it.

@Bugsbane
Copy link

Personally, I feel that sorting by file name is usability madness, compared to just sorting by date taken. I mean can you imagine browsing someone's Facebook wall by alphabetical order?!

@jancborchardt
Copy link
Contributor

@icewind1991 @butonic can you fix this, or point me how I can change it to date taken? :)

@Bugsbane
Copy link

Actually, I'll retract my suggestion of using date taken, in favor of date uploaded to ownCloud (as people are familiar with with most social networks). That said, date taken would still be a radical improvement.

Also worth noting is that there is quite a lot of discussion / wishes from users about sort order of displayed items in a range of contexts (references below), so from a usability perspective, it would likely be useful to have an ownCloud / app wide discussion of this, to keep things consistent on the interface side, rather than having every app implement their own custom solution.

Examples:
https://forum.owncloud.org/viewtopic.php?t=15779
http://forum.owncloud.org/viewtopic.php?f=23&t=17564
https://forum.owncloud.org/viewtopic.php?f=23&t=13091

#503
owncloud/core#164
owncloud-archive/news#161
owncloud/core#3670

@Bugsbane
Copy link

Date uploaded to ownCloud is also information that we can guarantee we can collect unlike "date taken" from exif.

@ccoenen
Copy link

ccoenen commented Dec 24, 2013

date uploaded could get really messy if you use the drag&drop multi upload or the sync client. You'll have no way of determining the order beforehand.

If at all, please make this an option, not the default.

@shark0der
Copy link

I installed the app on my phone and was using for a while, so there were let's say 100 pictures with IMG_20150214_205203 naming scheme - everything was good. Then I decided to upload some pictures that I had on my computer from my old phone. I was used to flash various ROMs on my android and I ended up having two pictures folders: 100MEDIA and Camera with the following naming schemes:

$ ls -l 100MEDIA | head -n 5
total 3729916
-rw-rw-r-- 1 anatol anatol  1290309 Feb  9 01:13 IMAG0001.jpg
-rw-rw-r-- 1 anatol anatol   186273 Feb  9 01:14 IMAG0002.jpg
-rw-rw-r-- 1 anatol anatol  1127734 Feb  9 01:14 IMAG0003.jpg
-rw-rw-r-- 1 anatol anatol  1188428 Feb  9 01:14 IMAG0004.jpg
$ ls -l Camera | head -n 5  
total 886668
-rw-rw-r-- 1 anatol anatol 1212437 Feb  9 00:17 1385235567063.jpg
-rw-rw-r-- 1 anatol anatol 1565622 Feb  9 00:17 1394667971351.jpg
-rw-rw-r-- 1 anatol anatol 3841808 Feb  9 00:17 1394791282644.jpg
-rw-rw-r-- 1 anatol anatol 1125071 Feb  9 00:16 1396960177520.jpg

In order to upload them, I mounted a folder using webdav and proceed to copy them using
cp 100MEDIA/* Camera/* /storage/.

Right now there's a mess. A total mess. When I open the folder I see images from Camera folder, modified 5 hours ago. If I order them backwards, I see the pictures from my new phone, taken about a month ago and I have to scroll through about 100 (thanks God only 100) pictures in order to see the pictures I took yesterday.

The bottom line - alphabetical sort would be a disaster. Ordering by date added to owncloud is ok-ish, but may end-up ugly if people share photos between them (let's say a friend gave me the pictures she took a week ago while at a party). Google Photos is counting massively on the Exif date taken field and I would also expect owncloud to do this. If the field is missing - a fallback to the date when the pictures were added to owncloud would be just good enough.

@jancborchardt
Copy link
Contributor

@shark0der »Google Photos is counting massively on the Exif date taken field« – yes, we should also do that.

cc @oparoz @icewind1991

@oparoz
Copy link

oparoz commented Mar 17, 2015

@jancborchardt - See owncloud/gallery#91 regarding sorting in general. There are 2 issues:

  • Missing GUI
  • Missing database component to store meta data

Also, regarding having a iOS type interface, this is discussed here owncloud/gallery#95 and not easily doable since the type of app is totally different.

@DeepDiver1975
Copy link
Contributor

Please reopen in gallery repo is still valid - THX

@jancborchardt
Copy link
Contributor

This is in place in Gallery+ although it could get some improvements by using EXIF dates.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

10 participants