forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: fran86 on November 24, 2013, 02:22:00 pm

Title: Click to enlarge intermediate picture?
Post by: fran86 on November 24, 2013, 02:22:00 pm
Is there a way to show or a message to users that they can click the intermediate pictures to view fullsize? I have set my intermediate pictures to medium for a nice light visual. Computer noobs or people unfamiliar with coppermine may not realise they can make them bigger and alot of my gallery consists of movie captures and who wants to see those small? Thankyou for your help :)
Title: Re: Click to enlarge intermediate picture?
Post by: fran86 on November 24, 2013, 05:59:09 pm
Is this a ridiculous question?
Title: Re: Click to enlarge intermediate picture?
Post by: Αndré on November 27, 2013, 10:30:09 am
If I understood correctly, you want to display a message below each picture that users can click on the pictures to view them in full size?
Title: Re: Click to enlarge intermediate picture?
Post by: fran86 on November 27, 2013, 10:37:58 am
I think so - Either above, below or maybe a hover text? Something simple like "Click image for original size"
Title: Re: Click to enlarge intermediate picture?
Post by: Αndré on November 27, 2013, 11:36:26 am
Usually the move icon changes when you hover over a link, so an additional text is not necessary IMHO.

To add a text below each picture, copy the function theme_html_picture from themes/sample/theme.php to your theme's theme.php file, find
Code: [Select]
    } elseif ($mime_content['content']=='document') {and replace with something like
Code: [Select]
        $pic_html .= 'Your text here';
    } elseif ($mime_content['content']=='document') {