date photo taken under thumbnail for 1.5.x date photo taken under thumbnail for 1.5.x
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

date photo taken under thumbnail for 1.5.x

Started by nasiri, January 11, 2011, 02:01:06 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

nasiri

Hello CPG Team,

i am sitting now some hours to change the Date under Thumbnails...
Have u got some information about how to change to exif date taken ???
didn't found while i was searching here.

thank you
Nasiri Media
Web Development in Münster / Germany

http://www.nasiri.com

nasiri

by the way i have used this code for displayimage.php :

    $metadata_path = file_exists($path_to_orig_pic) ? $path_to_orig_pic : $path_to_pic;
   
    if ($CONFIG['read_exif_data']) {
   
        $exif = exif_parse_file($metadata_path, $CURRENT_PIC_DATA['pid']);
   
    if (isset($exif) && is_array($exif)) {
array_walk($exif, 'sanitize_data');
        $info = array_merge($info,$exif);
    }

    preg_match_all('/\d+/', $info['Aufnahmedatum'], $temp);
if (isset($temp[0][2])) {
    $info['Aufnahmedatum'] = "am ".$temp[0][2].".".$temp[0][1].".".$temp[0][0]." um ".$temp[0][3].":".$temp[0][4]." Uhr";
}
}
Nasiri Media
Web Development in Münster / Germany

http://www.nasiri.com

nasiri

i found out that i have to make the changes in functions.inc.php ...
but which line

I have already used a user3 to store the exifdate like '2004-07-16 20:22:23'
i just need to localised_date the user3

but where ?!?

any help from admins ?
Nasiri Media
Web Development in Münster / Germany

http://www.nasiri.com

nasiri

at least tell me how to display an userfield under the thumbnailarea ... :(
Nasiri Media
Web Development in Münster / Germany

http://www.nasiri.com

Αndré

Honestly, I don't know what you try to accomplish.

Quote from: nasiri on January 11, 2011, 02:01:06 PM
change the Date under Thumbnails
Quote from: nasiri on January 11, 2011, 02:01:06 PM
change to exif date taken
Exif data won't be displayed below thumbnails. Please describe what exactly you want to change how. Please also post a link to your gallery.