forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: allvip on October 14, 2013, 10:18:07 am

Title: Return to the thumbnails page under filmstrip
Post by: allvip on October 14, 2013, 10:18:07 am
How can I move the Return to the thumbnails page icon under the filmstrip?
thanks.
Title: Re: Return to the thumbnails page under filmstrip
Post by: Αndré on October 14, 2013, 02:07:06 pm
Do you want to move just that button or the entire navigation bar?
Title: Re: Return to the thumbnails page under filmstrip
Post by: allvip on October 14, 2013, 04:07:11 pm
just that button.
Title: Re: Return to the thumbnails page under filmstrip
Post by: Αndré 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.
Title: Re: Return to the thumbnails page under filmstrip
Post by: allvip on October 14, 2013, 04:27:59 pm
thanks.it works.