forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: frisky on November 15, 2011, 05:57:28 pm

Title: Image resolution under thumbnail
Post by: frisky 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);

}
Title: Re: Image resolution under thumbnail
Post by: Αndré 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).
Title: Re: Re: Image resolution under thumbnail
Post by: frisky 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...
Title: Re: Image resolution under thumbnail
Post by: Αndré 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.