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: Problem with filmstrip - one too many thumbnails  (Read 3067 times)

0 Members and 1 Guest are viewing this topic.

scouterjohn

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Problem with filmstrip - one too many thumbnails
« on: December 02, 2014, 10:16:34 pm »

New user of cpg 1.5.34.
Site is http://agincourtscouts.ca/cpg15x

Custom themes/agincourt created following the instructions at
http://documentation.coppermine-gallery.net/en/theme_create_matching_page_tutorial.htm
File themes/agincourt/theme.php is unchanged except to add define('THEME_HAS_FILM_STRIP_GRAPHICS',1); in order to use tile1.gif and tile2.gif which were copied from themes/curve.

Problem:
When the prev or next arrow on the filmstrip is clicked the thumbs scroll right or left as appropriate but the end thumb is not dropped off the display (so it hides the prev/next arrow). The filmstrip is configured for 5 images but 6 are displayed after clicking prev or next. Clicking again works but the 6 thumbs are still shown.

Looking for a solution so I can switch to CPG from TWG.

Thanks,
John
Logged

allvip

  • Global Moderator
  • Coppermine addict
  • *****
  • Country: 00
  • Offline Offline
  • Posts: 1290
Re: Problem with filmstrip - one too many thumbnails
« Reply #1 on: December 03, 2014, 12:09:52 am »

In your themes/your_theme_name/template.html you forgot to add:

Code: [Select]
<link rel="stylesheet" href="css/coppermine.css" type="text/css" />

before:

Code: [Select]
<link rel="stylesheet" href="themes/yout_theme_name/style.css" type="text/css" />


coppermine.css (http://agincourtscouts.ca/cpg15x/css/coppermine.css) has div#film:

Code: [Select]
div#film {
    padding: 5px 0 5px 0;
    overflow:hidden;
}

    overflow:hidden; is important to hide the thumb remove.
If you don't want to include coppermine.css in your theme, then add in your style.css:

Code: [Select]
div#film {
    padding: 5px 0 5px 0;
    overflow:hidden;
}

I think you shoud include coppermine.css because has important default style for coppermine to look ok.
Logged

allvip

  • Global Moderator
  • Coppermine addict
  • *****
  • Country: 00
  • Offline Offline
  • Posts: 1290
Re: Problem with filmstrip - one too many thumbnails
« Reply #2 on: December 03, 2014, 05:10:34 am »

I can see that you included coppermine.css and the filmstrip works fine now.
Please click "Topic Solved" button on the bar at the left hand side at the bottom of the thread ( forum rules http://forum.coppermine-gallery.net/index.php/topic,55415.msg270631.html#msg270631 ).
The coppermine team always asked me to click Topic Solved and say how I solved it.
Logged

scouterjohn

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: Problem with filmstrip - one too many thumbnails
« Reply #3 on: December 03, 2014, 11:30:42 pm »

Wow! Awesome support. Not only is a solution suggested in the first post but then it is followed up before I can get back here to say thanks and click the solved button.

Thanks so much,
John
Logged

scouterjohn

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: Problem with filmstrip - one too many thumbnails
« Reply #4 on: December 03, 2014, 11:41:53 pm »

So now I feel stupid - where's the "topic solved" button?
Logged

allvip

  • Global Moderator
  • Coppermine addict
  • *****
  • Country: 00
  • Offline Offline
  • Posts: 1290
Re: Problem with filmstrip - one too many thumbnails
« Reply #5 on: December 04, 2014, 09:26:33 am »

I screenshoot of one of my threads to see where is Topic Solved button.
On your thread you are the only one to see it.
Logged

scouterjohn

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: Problem with filmstrip - one too many thumbnails
« Reply #6 on: December 04, 2014, 05:34:53 pm »

I logged in and can't find the solved button.
Logged

allvip

  • Global Moderator
  • Coppermine addict
  • *****
  • Country: 00
  • Offline Offline
  • Posts: 1290
Re: Problem with filmstrip - one too many thumbnails
« Reply #7 on: December 04, 2014, 06:24:52 pm »

OK. Better. You don't have to remember to click it anymore  ;D
Logged

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 893
  • +Tinyportal Support team.
Re: Problem with filmstrip - one too many thumbnails
« Reply #8 on: December 05, 2014, 12:38:33 am »

I logged in and can't find the solved button.

Is it there now?  Near bottom of page.
Logged
Running SMF 2.0.15  / Tinyportal 1.6.3, bridged with Coppermine 1.6.06, plus cpmfetch 2.0.0
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.