Advanced search  

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

Pages: [1]   Go Down

Author Topic: Thumbnails descripion on the top of the pic, title down  (Read 3740 times)

0 Members and 1 Guest are viewing this topic.

bosca

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Thumbnails descripion on the top of the pic, title down
« on: October 25, 2004, 03:45:03 pm »

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.
« Last Edit: October 25, 2004, 05:51:56 pm by bosca »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Thumbnails descripion on the top of the pic, title down
« Reply #1 on: October 26, 2004, 05:54:45 am »

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
Logged

bosca

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Thumbnails descripion on the top of the pic, title down
« Reply #2 on: October 27, 2004, 10:11:04 am »

up  :-[
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 20 queries.