Hello,
I want to modify the alt tag/pic_title of the thumbnails where standard is "filename, filezise, dimensions and date added". Instead of this information I want to display there the 4 custom fields like "user_field1_name" etc from the file-information shown on displayimage.php. I doen't find any solution for my problem.
Anybody knows how to do this?
http://forum.coppermine-gallery.net/index.php?topic=31277.0
http://forum.coppermine-gallery.net/index.php?topic=28786.0
you need to add
$CURRENT_PIC_DATA['user1']
$CURRENT_PIC_DATA['user2']
$CURRENT_PIC_DATA['user3']
$CURRENT_PIC_DATA['user4']
[at least I guess so ;) ]
Thank you for your fast answer.
You mean I have to change this:
$pic_title = $lang_display_thumbnails['filename'].$row['filename']."\n".
$lang_display_thumbnails['filesize'].($row['filesize'] >> 10).$lang_byte_units[1]."\n".
$lang_display_thumbnails['dimensions'].$row['pwidth']."x".$row['pheight']."\n".
$lang_display_thumbnails['date_added'].localised_date($row['ctime'], $album_date_fmt);
to this (only for the first field for example):
$pic_title = $CURRENT_PIC_DATA['user1'].$row['user1'];
But this doesn't work?
I've already read these posted threads, but I don't find any solution for my problem.