[Solved]: customizing thumbnail view? [Solved]: customizing thumbnail view?
 

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

[Solved]: customizing thumbnail view?

Started by lnguyen, April 25, 2004, 11:19:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lnguyen

under the thumbnails, we get the title and the #of views... i'm just using the waterdrops theme, and wanted those two on separate lines.  

is there anyway to do this? from what I can tell, it's buried somewhere in the PHP, but i don't know where...

Thanks
Linh

Ocean

Yes, I'd like to know this as well.  I don't like the count being right there.

I've gone through the template files and even started going through the main PHP files, but there's so many, I couldn't find where to do that.

Joachim Müller

in include/functions.inc.php, find                 // Set picture caption
                if ($set_caption) foreach ($rowset as $key => $row){
                        $caption = ($rowset[$key]['title']||$rowset[$key]['hits']) ? "<span class=\"thumb_title\">".$rowset[$key]['title'].(($rowset[$key]['title'])?"-":"").sprintf($lang_get_pic_data['n_views'], $rowset[$key]['hits'])."</span>" : '';
and edit accordingly.

GauGau

Ocean


lnguyen