Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Thumbnails descripion on the top of the pic, title down  (Read 2735 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: 47844
  • 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.016 seconds with 19 queries.