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: Image resolution under thumbnail  (Read 2814 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.017 seconds with 20 queries.