Announcement

#1 2021-11-08 03:17:38

audioscavenger
Member
2021-11-08
15

order by date taken - solved

Hello/Hi/Greetings,

How do piwigo get the "created date" from? Obviously not from the EXIF date the picture was taken, because the order is the same as date uploaded, which matches the date the jpeg were created since i upload them from darktable.

should i create a feature request?

EDIT: it actually works, just the photo order edit page is misleading

    Piwigo 12.0.0 Check for upgrade
    Operating system: Linux
    PHP: 7.4.25 (Show info) [2021-11-07 19:16:46]
    MySQL: 5.5.5-10.5.12-MariaDB-log [2021-11-07 19:16:46]
    Graphics Library: ImageMagick 7.0.11-13
    Cache size 40.69 Mo


Piwigo URL: https://piwigo.derewonko.com

Last edited by audioscavenger (2021-11-10 21:27:25)

Offline

 

#2 2021-11-08 13:26:01

erAck
Only trying to help
2015-09-06
1368

Re: order by date taken - solved

Are you sure your images to sort actually have an EXIF created date? Because in your Macro/Insects album many don't have EXIF metadata at all.


Running Piwigo at https://erack.net/gallery/

Offline

 

#3 2021-11-09 00:21:28

audioscavenger
Member
2021-11-08
15

Re: order by date taken - solved

thank you for asking!
yes they all do

EXCEPT the macro shots which as stacks generated by CombineZM. look in Arizona they are direct uploads from DT

Last edited by audioscavenger (2021-11-09 00:22:40)

Offline

 

#4 2021-11-09 02:44:09

audioscavenger
Member
2021-11-08
15

Re: order by date taken - solved

okay i did more testing:
* added a debug in the ./admin/include/functions_metadata.php
* created new album and uploaded pictures in random order
* order by create date old->new actually works

The issue is that 'Photos sort order' does not refresh the set and always show the manual order no matter what option you choose at the bottom, so i was under the false impression that it didn't work.

also it turns out that you gather very few data from the exif:

    [filesize] => 493
    [width] => 3072
    [height] => 2047
    [date_creation] => 2021-10-16 09:46:25

only that???

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2022 · Contact