Advanced search  

News:

cpg1.5.42 maintenance release - upgrade recommended
The Coppermine development team is releasing an update for Coppermine in order to fix several minor issues. All fixes are not security critical, so if your gallery is running fine with cpg1.5.36, cpg1.5.38 or cpg1.5.40 you don't need to upgrade. If you are running an older version than cpg1.5.36, you must update to this latest version as soon as possible because of the security impact!
[more]

Pages: [1]   Go Down

Author Topic: filmstrip current thumbnail (active thumbnail)  (Read 2933 times)

0 Members and 1 Guest are viewing this topic.

allvip

  • Global Moderator
  • Coppermine addict
  • *****
  • Country: 00
  • Offline Offline
  • Posts: 1285
filmstrip current thumbnail (active thumbnail)
« on: March 25, 2014, 09:23:24 PM »

I noticed this error in function filmstrip (sample theme and  and include/themes.inc.php).

Code: [Select]
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):

Code: [Select]
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):

Code: [Select]
/* pseudo-classes for middlethumb links */
a:link .middlethumb,a:visited .middlethumb,a:focus .middlethumb,a:hover .middlethumb,a:active .middlethumb{
    border: 2px solid blue;
}

Logged

allvip

  • Global Moderator
  • Coppermine addict
  • *****
  • Country: 00
  • Offline Offline
  • Posts: 1285
Re: filmstrip current thumbnail (active thumbnail)
« Reply #1 on: March 25, 2014, 09:38:22 PM »

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 .
Logged

allvip

  • Global Moderator
  • Coppermine addict
  • *****
  • Country: 00
  • Offline Offline
  • Posts: 1285
Re: filmstrip current thumbnail (active thumbnail)
« Reply #2 on: March 26, 2014, 05:13:36 PM »

the active thumb has a blu border:

Logged

allvip

  • Global Moderator
  • Coppermine addict
  • *****
  • Country: 00
  • Offline Offline
  • Posts: 1285
Re: filmstrip current thumbnail (active thumbnail)
« Reply #3 on: March 26, 2014, 05:23:01 PM »

 Display picture title under filmstrip thumbnails:

http://forum.coppermine-gallery.net/index.php/topic,74799.0.html
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15212
Re: filmstrip current thumbnail (active thumbnail)
« Reply #4 on: March 27, 2014, 02:42:56 PM »

Committed suggested fix in SVN revision 8678. Will be part of cpg1.5.28. Thanks for the report.
Logged
Pages: [1]   Go Up
 

Page created in 0.061 seconds with 20 queries.