Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Click to enlarge intermediate picture?  (Read 2060 times)

0 Members and 1 Guest are viewing this topic.

fran86

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 61
Click to enlarge intermediate picture?
« 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 :)
Logged

fran86

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 61
Re: Click to enlarge intermediate picture?
« Reply #1 on: November 24, 2013, 05:59:09 pm »

Is this a ridiculous question?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15757
Re: Click to enlarge intermediate picture?
« Reply #2 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?
Logged

fran86

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 61
Re: Click to enlarge intermediate picture?
« Reply #3 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"
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15757
Re: Click to enlarge intermediate picture?
« Reply #4 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') {
Logged
Pages: [1]   Go Up
 

Page created in 0.031 seconds with 22 queries.