Image resolution under thumbnail Image resolution under thumbnail
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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.