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: Return to the thumbnails page under filmstrip  (Read 1650 times)

0 Members and 1 Guest are viewing this topic.

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1342
Return to the thumbnails page under filmstrip
« on: October 14, 2013, 10:18:07 am »

How can I move the Return to the thumbnails page icon under the filmstrip?
thanks.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15761
Re: Return to the thumbnails page under filmstrip
« Reply #1 on: October 14, 2013, 02:07:06 pm »

Do you want to move just that button or the entire navigation bar?
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1342
Re: Return to the thumbnails page under filmstrip
« Reply #2 on: October 14, 2013, 04:07:11 pm »

just that button.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15761
Re: Return to the thumbnails page under filmstrip
« Reply #3 on: October 14, 2013, 04:20:49 pm »

I assume the easiest way is to remove that button completely from $template_img_navbar and add it via
Code: [Select]
    global $album, $pos;
    echo '<a href="thumbnails.php?album='.$album.'&amp;page='.ceil(($pos + 1) / ($CONFIG['thumbrows'] * $CONFIG['thumbcols'])).'"><img border="0" align="middle" alt="Return to the thumbnail page" src="images/navbar/thumbnails.png"></a>';
at your desired location in the function theme_display_image.
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1342
Re: Return to the thumbnails page under filmstrip
« Reply #4 on: October 14, 2013, 04:27:59 pm »

thanks.it works.
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 21 queries.