mrskhris
Forum Replies Created
-
Forum: Reviews
In reply to: [ZenphotoPress] No joyWhat is ZenPhoto/WP version numbers for the other site? Are they the same as on the first one?
Forum: Reviews
In reply to: [ZenphotoPress] No joyGlad to hear that. Since you took trouble to respond, can I ask you for one more favor? What waold you think will be good to add to this plugin? Anything on your wishlist?
Forum: Reviews
In reply to: [ZenphotoPress] No joyHi DocWu,
Perhaps I can help you with the problem. I did all changes exactly with 1.4.11, and it works OK for me. If you want, you can open new topic in Support area, and we continue there.
BTW, after that correction you can simply check all images and select “import metadata” from bulk operation dropdown. That will correct the dates.
I was puzzled by this strange behaviour too. Honestly, after NextGenGallery was sold, it’s not getting better.
I did some digging and testing. Turned out, it’s function get_date_time() in meta.php (wp-content/plugins/nextgen-gallery/lib/meta.php).This particular function tries to find image creation date by looping through several EXIF fields. It’s all right and proper, but what does it do then? Calls this function on line 522 (that’s approximate location, for my version of plugin):
// Return the MySQL format
$date_time = date( ‘Y-m-d H:i:s’, $date_time );I really wonder what kind of conversion that was meant to be. Second argument of “date” function was always epoch seconds – and here it gets “normal” Y-M-D H:M:S value. Of course it gets converted into 1970 date. No wonder.
After I commented out that line, everything started working as it should. Hope it will save someone the frustration.