Problem with filmstrip - one too many thumbnails Problem with filmstrip - one too many thumbnails
 

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

Problem with filmstrip - one too many thumbnails

Started by scouterjohn, December 02, 2014, 10:16:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

scouterjohn

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

allvip

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


<link rel="stylesheet" href="css/coppermine.css" type="text/css" />


before:


<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:


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:


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.

allvip

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.

scouterjohn

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

scouterjohn

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

allvip

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.

scouterjohn

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

allvip

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

lurkalot

Running SMF 2.1.4  / Tinyportal 3.0.1, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0