Citr I want to sort all files by upload date. The last upload should always be the first file in gallery. It should ignore exif or other date to sort.
The DATE sort will by default do exactly that, although it will prioritize EXIF DateTimeOriginal
from images. There is no plain option to ignore EXIF data for date sorting, but you could just edit index.php
around line 926
:
foreach (array('DateTime', 'DateTimeOriginal', 'ExposureTime', 'FNumber', 'FocalLength', 'Make', 'Model', 'Orientation', 'ISOSpeedRatings', 'Software') as $name) {
Remove the first two items DateTime
and DateTimeOriginal
:
foreach (array('ExposureTime', 'FNumber', 'FocalLength', 'Make', 'Model', 'Orientation', 'ISOSpeedRatings', 'Software') as $name) {
With the above, EXIF date will not be used. I might need to add a separate option for this in the future.