Filmstrip and current image exclusion ? Filmstrip and current image exclusion ?
 

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 and current image exclusion ?

Started by skad4life, May 08, 2006, 06:06:54 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

skad4life

Hello everyone!

I swear this is going to be my last question, I'm almost there.

I was trying to find a way to exclude the thumbnail for the current image from the filmstrip. To me, the filmstrip customization is the only thing in Coppermine that should be easier. I have edited the filmstrip html template in theme.php, but I really cannot easily edit (or even find) the code for {THUMB_STRIP}.

Anyway, a year ago Abbas Ali posted a very simple modification in order to exclude the current image thumbnail:
http://forum.coppermine-gallery.net/index.php?topic=18394.msg84944#msg84944

It's not perfect, as it doesn't really work when the first and last images are displayed, but it's better than nothing. Problem is, there is no such piece of code in 1.4x. I have used a file search tool, looking for various strings as mentioned by Abbas Ali, but no luck.

I hope that this will be part of a future Coppermine release. In order to make a website user-friendly, I always imagine my Mom visiting the site. And my Mom gets frustrated real quickly when she cannot figure out what to click on to make it work, meaning the film strip navigation can be a little confusing for newbies.

Is there a current solution, or a quick fix for this?
Thanks very much!
Jael

Stramm

copy function theme_display_film_strip from themes/sample/theme.php to the them you're using and modify accordingly

skad4life

Hello Stramm!

Thank you for your reply! I do feel silly now, but I'm sure you get that a lot.
That did the trick, just like Abbas Ali explained. Thank you very much!

Jael