NextGEN Gallery 1.2.1
In contrast to IE8 running in "compatibility view" a gallery, which is embedded with "[nggallery id=nn", isn't shown correctly using IE8 with native mode. Pls. see http://www.sgniederkainsbach.de/?p=1480
NextGEN Gallery 1.2.1
In contrast to IE8 running in "compatibility view" a gallery, which is embedded with "[nggallery id=nn", isn't shown correctly using IE8 with native mode. Pls. see http://www.sgniederkainsbach.de/?p=1480
Just installed version 1.3.1.
Problem still persists.
I have the same problem with IE8: http://galerie.anta-brink.com/sport/
Check it with the default theme
It is ok with the default theme. It seems to be a problem with our theme.
I do not use any special theme.
Pls. see http://www.sgniederkainsbach.de/?p=1480
I propose the following changes to solve the problem:
1. Add the following three lines to nggfunctions.php after line 186:
$gallery->thumbwidth = intval($thumbwidth) + 15; // 15 = padding + margin according style sheet, should be a parameter
$gallery->thumbheight = intval($thumbheight) + 21; // 21 = padding + margin according style sheet, should be a parameter
2. Substitute line 41 in view\gallery.php by the following one:
<div class="ngg-gallery-thumbnail" style="width:<?php echo $gallery->thumbwidth ?>px; height:<?php echo $gallery->thumbheight ?>px" >
3. Substitute line 41 in view\gallery-caption.php by the following one:
<div class="ngg-gallery-thumbnail" style="width:<?php echo $gallery->thumbwidth ?>px; height:<?php echo $gallery->thumbheight ?>px" >
Great - that works fine.
Thank you very much reinermüller.
Thanks for the fix. Works for me as well except for the fact that there is now a much larger white drop-shadow around the thumbnails. Any thoughts on getting rid of this?
Thanks
now i have the same problem with the 1.4.1 version!
help me please!
Link ?
first of all, thanks for answer me, i really appreciate that.
second... in the meantime i've solved the issue in the most possible brutal way:
i've substitute the lines indicated in the files view\gallery.php and view\gallery-caption.php, then in the nggfunctions.php iv'e added the lines
$gallery->thumbwidth = intval($thumbwidth) + 156; (the thumb width i want is 145px)
$gallery->thumbheight = intval($thumbheight) + 117; (and the height is 97)
and in the style.css of my theme (compositio) i've added the follow:
.ngg-gallery-thumbnail img { height: 97px; width: 145px;}
whit those lines the thumbnail are forced to the specified dimension, but of course i can't change it dinamically.
by the way, the link to the page is
http://www.pensionevecchiafornace.it/galleria-pensione-micron/
You must log in to post.