#1 2024-01-25 23:16:10

alexlush
Member
2024-01-25
5

Setting Creation Date

Hi.

New to piwigo so please be gentle!

I have some issues setting the creation date on images I have uploaded. I am using creation date as the date each photo was taken. Most of my images are historical and using the pop out calendar is painful when selecting a date in the past. It seems I can't just type 01/01/1965 for example. Is there a way to disable the pop up calendar?

An even better solution would be to bulk update the image details from a csv file! I have not looking into the backend db yet but I guess this would be the best route?

Any help greatly appreciated!

Thanks.

Alex

Offline

 

#2 2024-01-26 00:12:41

Katryne
Member
2016-12-03
409

Re: Setting Creation Date

Hello !  I am also interested in such a feature for choosing a date.


https://album.chauvigne.info/ v.15.1.0  PHP: 8.2.25
https://balades.comoni.org/  v.15.1.0 PHP: 8.2.25
Système d'exploitation: Linux - Hébergeur 1&1-Ionos - MySQL: 5.7.42
Bibliothèque graphique: External ImageMagick 6.9.11-60

Offline

 

#3 2024-01-26 05:57:30

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7238

Re: Setting Creation Date


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#4 2024-01-26 06:12:45

Katryne
Member
2016-12-03
409

Re: Setting Creation Date

Hi ! Thanks ddtddt.
Personnally, for mass update, I already have this plugin, very useful. But it does not change the way to choose a date.


https://album.chauvigne.info/ v.15.1.0  PHP: 8.2.25
https://balades.comoni.org/  v.15.1.0 PHP: 8.2.25
Système d'exploitation: Linux - Hébergeur 1&1-Ionos - MySQL: 5.7.42
Bibliothèque graphique: External ImageMagick 6.9.11-60

Offline

 

#5 2024-01-26 07:15:35

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7238

Re: Setting Creation Date


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#6 2024-01-26 07:45:31

Katryne
Member
2016-12-03
409

Re: Setting Creation Date

Well ... are you sure about date modification with this plugin ? I see it can mass-update only : title, description, author, tags. Not dates.


https://album.chauvigne.info/ v.15.1.0  PHP: 8.2.25
https://balades.comoni.org/  v.15.1.0 PHP: 8.2.25
Système d'exploitation: Linux - Hébergeur 1&1-Ionos - MySQL: 5.7.42
Bibliothèque graphique: External ImageMagick 6.9.11-60

Offline

 

#7 2024-01-26 10:25:40

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7238

Re: Setting Creation Date

Katryne wrote:

Well ... are you sure about date modification with this plugin ? I see it can mass-update only : title, description, author, tags. Not dates.

no Creation Date but it's possible to add in this plugin


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#8 2024-01-26 10:32:56

Katryne
Member
2016-12-03
409

Re: Setting Creation Date

Don't worry for me about that, ddtddt. Ask Alex. I find the mod too complicated to use. I still prefer the inconvenient use of the calendar to enter dates.
Thanks all the same for the suggestion.


https://album.chauvigne.info/ v.15.1.0  PHP: 8.2.25
https://balades.comoni.org/  v.15.1.0 PHP: 8.2.25
Système d'exploitation: Linux - Hébergeur 1&1-Ionos - MySQL: 5.7.42
Bibliothèque graphique: External ImageMagick 6.9.11-60

Offline

 

#9 2024-01-26 10:45:59

gueba
Member
2021-12-31
57

Re: Setting Creation Date

Why don't you set the correct/preferred date with exiftool before uploading?

Offline

 

#10 2024-01-28 00:30:55

alexlush
Member
2024-01-25
5

Re: Setting Creation Date

Thanks everyone for the quick replies and suggestions.

@gueba - I had thought about setting the dates in the file properties so I may try that. If i upload a file with date info set, how/where do i go to pull the date info into Piwigo? It doesn't seem to pull through based on my basic testing just now. Is there a plugin or option i'm missing? It would also be helpful to pull the author, subject and tag/keyword info from the file if this is also possible?

I have around 60k photos I am looking to pull in so I need a streamlined way to import and get the info showing correctly in Piwigo. I currently have a folder of photos, each with a unique ID, and a spreadsheet listing the date taken, subject and tags/keywords.

Offline

 

#11 2024-01-28 12:12:27

gueba
Member
2021-12-31
57

Re: Setting Creation Date

Hi alexlush,

As for the date: AFAIK piwigo uses the Exif field: DateTimeOriginal to set the date and time of the pic.
see: exiftool.org

f.e. you can set all dates in a picure or directory on commandline with

Code:

 exiftool -AllDates="1917:12:12 06:00:00" FILEorDIR

In Windows you can use exiftoogui or Jexiftoogui (all OS - Java needed).

For author, tags, description .... you should be able tu use IPTC fields. I don't use them, so am not familiar with it.

hth

Offline

 

#12 2024-01-28 13:12:27

erAck
Only trying to help
2015-09-06
2147

Re: Setting Creation Date

With exiftool don't forget the -preserve option to keep the file date+time and the -overwrite_original_in_place option to not end up with _original backup duplicates of each image file.


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

Offline

 

#13 2024-01-30 17:17:37

alexlush
Member
2024-01-25
5

Re: Setting Creation Date

Thanks for the suggestions everyone. I think my best strategy is to use ExifTool to place the correct meta data into the files then get PiWigo to pull that info out.

I'm having some issues getting the metadata to show in the PiWigo but i will create a new post for this as I've strayed away from the original request about the Creation Data field!

Offline

 

#14 2024-03-13 13:35:25

CeasarOsinski
Member
2024-02-02
1

Re: Setting Creation Date

Any update?

Offline

 

#15 Yesterday 10:47:14

Kiko@Sea
Member
2023-01-28
4

Re: Setting Creation Date

dear all,
I have many historical photos in which the month, day and hour are not only unknown, but they are mostly irrelevant. I am interested, though, to define the (probable) creation year of the photograph in the image characteristics, and then use the year to sort.
So great grandfather in 1892 is shown before grandmother in 1930, in my family album.
Is there a way I can have the 'creation date' define a year only? After which I can sort the images in the album by year...
Thanks!
Kiko

Offline

 

Board footer

Powered by FluxBB

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