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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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 1 Guest 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.