Announcement

#1 2005-07-05 16:45:01

Eric B
Member
2003-10-02
90

Synchronise metadata : wrong EXIF date!

Hi,
I`m using PWG for more 2 years now and have made quite a lot of modification on the 1.3.1 (among them the EXIF mod from alcz)

Anyway, I would like to update to 1.4.1

I ve first tested this new version on another directory/database

A lot of new funtionalities seems to be very interesting.

About metadata image synchronization, the date in the DB are replaced by the date of the pictures.

BUT the EXIF date is not the good one: PWG seems to take the "modification date" instead of "taken date" or "digitized date" (the last both are often the same)

I ve looking for the file to modify, but I think I ve understood now the main difference with the previous version. PWG 1.3 exif mod use to define all the exif field whereas PWG 1.4 use directly the PHP4 Exif functions...

Is it only by me that the DateTime does not return the wished date?

Offline

 

#2 2005-07-05 17:06:08

Eric B
Member
2003-10-02
90

Re: Synchronise metadata : wrong EXIF date!

I tested the tools/metadata.php and it appears that I just have to replace "DateTime" by "DateTimeOriginal".
I ve made it in /include/config.inc.php (line 125) and it works in the display!

And I ve just change /admin/include/functions_metadata.php line 94/96 and the synchro is now correct!

Last edited by Eric B (2005-07-05 17:21:41)

Offline

 

#3 2005-07-05 22:31:24

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: Synchronise metadata : wrong EXIF date!

Happy to see you solved your problem.

Your feeback tell me that the code you changed in admin/include/functions_metadata.php should have been only a modification in include/config.inc.php (I've hard coded the EXIF field).

Offline

 

#4 2005-07-07 14:44:40

Eric B
Member
2003-10-02
90

Re: Synchronise metadata : wrong EXIF date!

IMHO, the change I ve made (DateTimeOriginal)should be in the next release of PWG.
I should not be the the only one that prefer to see the date when the picture was shot instead of the date when a software modified it (typically during the resize).

Last edited by Eric B (2005-07-07 14:45:14)

Offline

 

#5 2005-07-09 00:53:11

brianstanfill
Member
Palmer, Alaska
2005-07-01
20

Re: Synchronise metadata : wrong EXIF date!

I agree.

Brian Stanfill
http://pershot.com


So long as there is a system and so long as there are people like me, we will maneuver the system so as to best achieve the best outcome for yours truly.

http://pershot.com

Offline

 

#6 2005-07-09 11:53:47

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: Synchronise metadata : wrong EXIF date!

I agree. I think I had not this field in the old version of PHP I worked with for branch 1.4 developments.

Offline

 

Board footer

Powered by FluxBB

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