Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Filmstrip and current image exclusion ?  (Read 2654 times)

0 Members and 1 Guest are viewing this topic.

skad4life

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 17
Filmstrip and current image exclusion ?
« on: May 08, 2006, 06:06:54 am »

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
« Last Edit: May 08, 2006, 05:56:24 pm by GauGau »
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Filmstrip and current image exclusion ?
« Reply #1 on: May 08, 2006, 10:38:24 am »

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

skad4life

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 17
Re: Filmstrip and current image exclusion ?
« Reply #2 on: May 08, 2006, 04:48:43 pm »

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
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.