Advancing filmstrip more than one frame? Advancing filmstrip more than one frame?
 

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

Advancing filmstrip more than one frame?

Started by AntonLargiader, October 26, 2010, 05:53:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

AntonLargiader

With the default 5 thumbnails in the filmstrip, I'd like to advance it four or maybe five frames for each click. The setup gives the number of frames but I don't see a way to change the advance rate.

www.largiader.com/album/

I saw the scroll wheel plug-in and maybe that's the best solution, but it seems that (n-1) would be a logical default for the arrow. Not everyone will think to try the scroll wheel anyway.
My album:  www dot largiader dot com slash album

Αndré

We need to adjust the $(document).ready(function() in js/displayimage.js.
I tried to replace the '1' at
nextPosition = nextPosition +1;
and
nextPosition = nextPosition -1;
with a '4'.

It crashes if there are less then 4 images, so all the checks has to be adjusted. I currently cannot help you any further at this issue.

AntonLargiader

Thanks! I'd been looking in functions.inc.php where it has:
$filmstrip_next_pos = $pos + 1;
$filmstrip_prev_pos = $pos - 1;


But changing those to 4s wasn't having any effect. I'll look at the checks and see if I can figure something out.
My album:  www dot largiader dot com slash album

AntonLargiader

I tried what you mentioned and it seems that it makes the filmstrip skip over items. IOW it looks like it advances one frame (same as before) but that next image is actually four images later. I want it to keep loading each image sequentially but slide four positions (if there are that many images left).

Ideally I think the config would let the admin choose between scrolling maxItems frames or scrolling (maxItems-1) frames, for those that want to see one image remain behind as a visual anchor. I can't really see who would want to advance only one image if you can see 5 of them, since the whole idea of the arrows is a quicker navigation using the strip.

And really ideally (IMO) there would be an acceleration and deceleration of the strip, because that helps the eye track better. I think I've seen this in other filmstrips; maybe I can find an example. I've done some other JS stuff that had accel/decel.
My album:  www dot largiader dot com slash album

frank61

Is there somethnig new?
I also would like to move more thumbs ahead.
The best way is to move as many as I set in configuration page.
I set to 7, so the button "NEXT" should move for next 7 images,
Thanks for help
www.photoportal.sk

Αndré

That may be a feature request for future versions of Coppermine.