Filmstrip Next Scroll Amount Filmstrip Next Scroll Amount
 

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]

Main Menu

Filmstrip Next Scroll Amount

Started by nellygrl, January 06, 2012, 05:21:26 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nellygrl

Hi!

Could anyone tell me how I would go about changing the, what I guess you would call, scrolling amount in the filmstrip when you click the next button.

Right now, when the next button is clicked, it doesn't scroll enough to the right, causing the next image to be cut off and having to click the button again.

So is there any way to change this to make the scroll amount the exact width of my thumbnails?

The example of the issue is here: http://onedirectionconnection.com/gallery/displayimage.php?album=2&pid=351#top_display_media

Thanks for your time!

~Noelle

ΑndrĂ©

Open js/displayimage.js, find
tempWidth = parseInt(width) +3;
and replace with
tempWidth = parseInt(width) + 19;
(twice). Unfortunately this is theme depended (margin / padding), so that solution works only for your current theme. It works as expected with the curve theme without any modifications.