forum.coppermine-gallery.net
Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: allvip on March 25, 2014, 08:23:24 pm
-
I noticed this error in function filmstrip (sample theme and and include/themes.inc.php).
if ($thumb['pos'] == $pos && !$superCage->get->keyExists('film_strip')) {
$thumb['image'] = str_replace('class="image"', 'class="image middlethumb"', $thumb['image']);
should be(because the fimstrip thumbnails class is .strip_image not image):
if ($thumb['pos'] == $pos && !$superCage->get->keyExists('film_strip')) {
$thumb['image'] = str_replace('class="strip_image"', 'class="strip_image middlethumb"', $thumb['image']);
the css rules already are in the style.css (curve theme):
/* pseudo-classes for middlethumb links */
a:link .middlethumb,a:visited .middlethumb,a:focus .middlethumb,a:hover .middlethumb,a:active .middlethumb{
border: 2px solid blue;
}
-
Is no need to edit include/themes.inc.php.Everytime you update coppermine include/themes.inc.php will be replaced.
You can copy <<<theme_display_film_strip>>> from themes/sample/theme.php(if is not in your theme.php),past it in your theme and aply the changes.
check .css file of your theme for the middlethumb class.If it does not exist add the middlethumb class and style it like you want.
The curve theme has the middlethumb class in style.css .
-
the active thumb has a blu border:
-
Display picture title under filmstrip thumbnails:
http://forum.coppermine-gallery.net/index.php/topic,74799.0.html (http://forum.coppermine-gallery.net/index.php/topic,74799.0.html)
-
Committed suggested fix in SVN revision 8678. Will be part of cpg1.5.28. Thanks for the report.