Image resolution under thumbnail Image resolution under thumbnail
 

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]

Main Menu

Image resolution under thumbnail

Started by frisky, November 15, 2011, 05:57:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

frisky

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?

        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);

}

Αndré

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

frisky

Quote from: Αndré on November 16, 2011, 03:54:22 PM
Move the added line directly above
$rowset[$key]['caption_text'] = $caption;
(as described by Nibbler).

Thank you and sorry for my blindness...

Αndré

Please
Quote from: Joachim Müller on September 28, 2008, 12:46:26 PM
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.