forum.coppermine-gallery.net

Support => cpg1.5 plugins => cpg1.5.x Support => cpg1.5 plugin contributions => Topic started by: Timos-Welt on November 12, 2009, 02:11:59 pm

Title: Mouse wheel support in filmstrip for cpg1.5.x (stripwheel)
Post by: Timos-Welt on November 12, 2009, 02:11:59 pm
Install this plugin to enable mouse wheel support for the filmstrip on displayimage.php.

Demo:
http://pics.timos-welt.de/displayimage.php?pid=559

SVN:
https://coppermine.svn.sourceforge.net/svnroot/coppermine/branches/cpg1.5.x/plugins/stripwheel/

Download latest SVN snapshot:
http://coppermine.svn.sourceforge.net/viewvc/coppermine/branches/cpg1.5.x/plugins/stripwheel.tar.gz?view=tar

Download from "official" download section:
http://sourceforge.net/projects/coppermine/files/Plugins/1.5.x/cpg1.5.x_plugin_stripwheel_v0.4.zip/download
Title: Re: [cpg1.5.x]: Mouse wheel support for filmstrip (stripwheel)
Post by: Pascal YAP on November 12, 2009, 04:08:04 pm
YEAH ,-) Very usefull, with a nice Mouse Icon :-)
Super  ;D
Title: Re: [cpg1.5.x]: Mouse wheel support for filmstrip (stripwheel)
Post by: Αndré on November 13, 2009, 08:56:40 am
Added plugin to svn.

I suggest to switch the mousewheel up/down actions:
- scroll up = prev pic
- scroll down = next pic

because it's more intuitive imo and fits better for themes with a vertical filmstrip (e.g. http://gfyoung.homeip.net/cpg15x/displayimage.php?album=1&pid=8#top_display_media).
Title: Re: [cpg1.5.x]: Mouse wheel support for filmstrip (stripwheel)
Post by: Timos-Welt on November 13, 2009, 10:58:00 am
Hi Andre,

I changed this in the SVN version. Now it should work as you would would expect it. Probably I'll make this configurable some day.

regards
Timo
Title: Re: Mouse wheel support in filmstrip for cpg1.5.x (stripwheel)
Post by: ijsvogel on February 27, 2010, 11:57:14 am
Hello,

Is this plugin also available for cpg1.4?
Title: Re: Mouse wheel support in filmstrip for cpg1.5.x (stripwheel)
Post by: Joe Carver on February 27, 2010, 03:00:22 pm
Title: Re: Mouse wheel support in filmstrip for cpg1.5.x (stripwheel)
Post by: Phill Luckhurst on February 27, 2010, 04:16:58 pm
Please keep your 1.4.x questions out of threads for 1.5.x. Instead you should have started a thread in the 1.4.x board referring to this thread.
Title: Re: Mouse wheel support in filmstrip for cpg1.5.x (stripwheel)
Post by: zl0b0t on September 18, 2010, 04:08:42 pm
Hello, Tim!

Great plugin, I use it on my gallery and I have one question: is there any way to change the size of thumbnails in filmstrip in case of using this plugin? For example, I use this code in function theme_display_film_strip() in my theme.php to change size in default filmstrip to size I need:
Code: [Select]
$thumb['image']=str_replace('class="strip_image" ','class="strip_image" width="80" height="80" ',$thumb['image']); It works when filmstrip is created (it shows original thumbnails scaled to 80x80px), but after click "next", "previos" or mouse scroll filmstrip shows original sized thumbnails (250x250px in my case).

Thank you!
Title: Re: Mouse wheel support in filmstrip for cpg1.5.x (stripwheel)
Post by: Αndré on September 22, 2010, 01:57:02 pm
is there any way to change the size of thumbnails in filmstrip [..] after click "next", "previos" [..] shows original sized thumbnails (250x250px in my case).
Not related to this plugin. Previous/next thumbs are dynamically loaded using js/displayimage.js. If you need further help, please start a new thread in the appropriate support board.