-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
🖼️ Sorting pictures by taken date instead of modification date #87
Comments
It would be a nice enhancement. cc @rullzer |
cc @jancborchardt if it make sense |
Yep, very good point – for photos it absolutely makes sense to sort by taken date, exactly for the reasons @tillwf mentioned. :) |
Could it simply be sorted by the name as a start ? With current cameras naming convention, the filename reflects the creation date order. |
I'd rather have modification date (like all mobile galleries work) than name |
This would break down as soon as you get photos from a second camera or from friends, or the numbering of your own camera wraps – so the current way is better for now. :) |
@jancborchardt You're right. However, it is not better now, because currently the order is completely random as I transfer my picture using |
Guys, can't we just change this line photos/lib/Controller/AlbumsController.php Line 102 in c993c63
to use $node->getCreationTime() ?That makes picture be displayed in a more logical order.... |
@frieck this suggest is about the taken date, not the creation date of the file. |
Hi @skjnldsv, |
@frieck not arguing with your specific issue :)
Nonetheless, I just notice this line on the main post, which make this confusing 😛 |
Yep! :) |
creation date of the file is better than the mtime, but EXIF data would ofc be best. Unfortunately, creation date (filesystem level) is also of no use if you use the NC app to sync your pictures from the phone, since all files end up with a creation date of the time of the upload :( |
BTW, there's this application https://github.com/gino0631/nextcloud-metadata which can already extract metadata of many formats. Is there a way to use that? @Mikescops @skjnldsv ? |
@Zaijo I am also interested in helping out with this one. Let me know. |
I'm sorry guys but in between I found Photoprism https://docs.photoprism.org/ which I now use alongside with Nextcloud and this EXIF way for Nextcloud Photos seems to have a veeeery long path before it's usable for me. |
@Zaijo , did you use some guide to install photoprism and set it up with nextcloud? This sync-option looks like it duplicates the image data (?) https://docs.photoprism.org/user-guide/settings/sync/ |
Let's move to e.g. Twitter with that so we don't spam this thread. https://twitter.com/zaj0 |
Like mentioned on this thread and others multiple time, this require metadata to be merged and shipper into nextcloud server, available through dav and have a dedicated API for other apps. |
This comment has been minimized.
This comment has been minimized.
I reckon it will take some time before it is properly managed server-side. How about some partial temporary feature using PHP built-in EXIF support ? Something similar at what I have written above, but better and at the right place ? |
No, it must be done right or none at all. Temporary hackish features are what got us in lots of trouble in lots of areas. And then no one maintains it, and it suddenly becomes the bottleneck for any desired changes. 😖 Locking this thread, nothing more productive seems to be added, you are all free to start working on this and I will help you implement it if you do. 👍 |
@marcelklehr |
Shouldn't be too hard, IMHO. One problem is that file creation dates are a relatively recent addition to the linux family so may not always be available... |
@artonge what do you think about this one regarding feasibility? Would it need EXIF data to be saved or something else as prerequisite? |
This would need the EXIF data to be saved in the |
What’s the current state or feasibility regarding this now that we have the data in the metadata table (right?) – @artonge? |
Looks like this would need to be first done by the desktop and other client apps? |
cc @tobiasKaminsky also for the client part as mentioned by @szaimen. |
This is only on server. |
I do not think that we have the data yet. |
So I guess we would need to extract the information on server and store it in the metadata table first? |
For travel albums or for any event, pictures modification time does not reflect the event timeline.
It happens a lot that pictures are modify (cropping, enhancements, etc.), and changing their orders does not help readability.
Could the creation date be the default info used ?
The text was updated successfully, but these errors were encountered: