coppermine-gallery.com/forum

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
    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.