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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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