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: Image resolution under thumbnail  (Read 2889 times)

0 Members and 1 Guest are viewing this topic.

frisky

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Image resolution under thumbnail
« on: November 15, 2011, 05:57:28 pm »

Hi,  did as it was here -> http://forum.coppermine-gallery.net/index.php/topic,42445.0.html
but it doesn't work...

Can you tell me what I did wrong?

Code: [Select]
        if (in_array('mtime', $must_have)) {

            $caption .= '<span class="thumb_caption">' . localised_date($row['mtime'], $lang_date['lasthit']);

            if (GALLERY_ADMIN_MODE) {

                $caption .= '<br />' . $row['lasthit_ip'];

            }

            $caption .='<span class="thumb_caption">'.$row['pwidth'] . ' x ' . $row['pheight'] .'</span>';
}
        $rowset[$key]['caption_text'] = $caption;
    }

    $rowset = CPGPluginAPI::filter('thumb_caption', $rowset);

}
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Image resolution under thumbnail
« Reply #1 on: November 16, 2011, 03:54:22 pm »

Move the added line directly above
Code: [Select]
$rowset[$key]['caption_text'] = $caption;(as described by Nibbler).
Logged

frisky

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Re: Image resolution under thumbnail
« Reply #2 on: November 16, 2011, 07:42:00 pm »

Move the added line directly above
Code: [Select]
$rowset[$key]['caption_text'] = $caption;(as described by Nibbler).

Thank you and sorry for my blindness...
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Image resolution under thumbnail
« Reply #3 on: November 17, 2011, 09:40:42 am »

Please
tag your answer as "solved" by clicking on the "Topic Solved" button on the bar at the left hand side at the bottom of your thread.
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 20 queries.