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 thumbnail size  (Read 2469 times)

0 Members and 1 Guest are viewing this topic.

slowbart

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Filmstrip thumbnail size
« on: June 16, 2007, 02:12:23 pm »

I wanted to make some minor changes to the classic theme so I copied it to a new directory in the themes folder.

Even without making any changes, when I select the new (test) them, it creates the thumbs in the filmstrip at a very small size.

Any ideas why this is happening? I'm only qualified to tweak the style.css  ;D so I need a bit of help here!

My site is here: http://mattrexphoto.com/cpg148/displayimage.php?album=2&pos=0
It's standard classic theme + changed colours in style.css but I'd like bigger thumbs in the filmstrip...

Thanks,
Matt.
« Last Edit: June 25, 2007, 09:31:17 am by GauGau »
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Filmstrip thumbnail size
« Reply #1 on: June 17, 2007, 11:12:55 am »

older versions of the classic theme have a non standard function theme_display_film_strip() in the theme.php that reduces the thumb size

the calculation starts after
Code: [Select]
$new_size = 65;
edit: if you haven't modified that above function, it should be enough to just delete it from your theme.php
« Last Edit: June 17, 2007, 11:28:03 am by Stramm »
Logged

slowbart

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Filmstrip thumbnail size
« Reply #2 on: June 17, 2007, 03:11:00 pm »

Thanks Stramm!

Deleted entire function and it appears to work as normal now. i.e. thumbs in filmstrip are same size as normal album thumbs.

Cheers,
Matt.
Logged

cpgaelic

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Filmstrip thumbnail size
« Reply #3 on: June 24, 2007, 04:09:18 pm »

Thanks, Stramm...I just changed mine from 65 px to 120 px and the filmstrip looks and functions much better than before.
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 16 queries.