Thumbnails descripion on the top of the pic, title down Thumbnails descripion on the top of the pic, title down
 

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

Thumbnails descripion on the top of the pic, title down

Started by bosca, October 25, 2004, 03:45:03 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

bosca

Hi, I would set the thumbnails view in this way:

description

 ------------
 | image |
 ------------

   title

I try to change theme.php (classic):

// HTML template for thumbnails display
$template_thumbnail_view = <<<EOT

<!-- BEGIN header -->
       <tr>
<!-- END header -->
<!-- BEGIN thumb_cell -->
       <td valign="middle" class="thumbnails" width ="{CELL_WIDTH}" align="center">
               <table width="100%" cellpadding="0" cellspacing="0">
                       <tr>
                               <td align="center">
                                       {CAPTION}<br />
               <a href="{LINK_TGT}">{THUMB}<br /></a>
                                       {ADMIN_MENU}
                               </td>
                       </tr>
               </table>
       </td>
<!-- END thumb_cell -->

but the result is that all the information on the picture go before the image.
Can you help me? what have I to change?  

Thanks.

Joachim Müller

the caption in this case is the additional data like title, date and uploader name, not the title or the caption only. What you want to accomplish will require additional code changes in various places - you have to understand how the placeholder {CAPTION} is being composed - it would require changes both to themes/yourtheme/theme.php and include/functions.inc.php (only recommended for very experienced users).

Joachim