Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We would like to sort the pictures by date, I didn't see that as a possibility on the settings page. Is that easy to make? (to be more precise: sort by reversed date)
Thanks in advance.
Comment | File | Size | Author |
---|---|---|---|
#2 | datesort1.diff | 860 bytes | drpchris |
#1 | datesort2.diff | 2.39 KB | drpchris |
Comments
Comment #1
drpchris CreditAttribution: drpchris commentedI'm doing it via the EXIF tags in JPEG files. Diff attached against the 7.x code, although I've been using this same method for a couple years and with some minimal searching it should fit fine with the 6.x code. If the code can't find the right tag, then it assigns it a large time value so the files get stuck at the end of the list. That could certainly be modified.
Comment #2
drpchris CreditAttribution: drpchris commentedForgot the code to give another choice for sorting through the admin interface.
Comment #2.0
drpchris CreditAttribution: drpchris commentedextra info