coppermine-gallery.com/forum

Support => Looking for Freelancers / Paid help => Topic started by: BOO3 on January 28, 2005, 01:01:00 AM

Title: Display "upload-date" in thumbnail gallery
Post by: BOO3 on January 28, 2005, 01:01:00 AM
For a small fee I'd like a "upload date stamp" to display in the thumbnail gallery.

After countless hours of searching most user requests are different than mine: sort/display pictures by EXIF, modifying calendars.php, etc...none of which I want. CPG by default automatically displays upload-date with a mouse-over inside the thumbnail gallery
(Pls. see linke for example: http://coppermine.sourceforge.net/demo/thumbnails.php?album=1).

I need the date to be displayed WITHOUT a mouse over: similar to the section called "last additions."   

At this point I don't know if its possible. Maybe a freelancer is required for this particular hack. Pls. verify. Thank you.

Title: Re: Display "upload-date" in thumbnail gallery
Post by: foulu on January 28, 2005, 08:45:29 AM
Okey, open file function.inc.php in include folder

find:

$caption .= "</span>";

and replace with:

$caption .= '</span><span class="thumb_caption">'.$lang_display_thumbnails['date_added'].localised_date($row['ctime'], $album_date_fmt).'</span>';

Title: Re: Display "upload-date" in thumbnail gallery
Post by: BOO3 on January 28, 2005, 10:14:58 PM
FoulU,

wow!  :o

it works. Thank you.

</Pls. close>