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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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