nextgen gallery showing double galleries and double counting in IE (3 posts)

  1. cyclocross
    Posted 6 years ago #

    I'm using nextgen gallery's great plugin, v 1.21. I have two main issues.

    the biggest problem I'm trying to solve is that in IE7, the gallery is now being displayed twice, and the # of photos is being double counted.

    An example is here: http://cxmagazine.com/cyclocross-worlds-2009-hoogerheide-eric-emsky-column the gallery appears a second time below the related posts, then related posts appears again. The # of photos is listed as 12, even though there are only 6.

    if I remove the gallery code from the post, it's all good again.

    The second issue is that when I upgraded to 1.21 from .99, my captions' formatting got messed up. before I had it so that the captions would wrap below the picture, but the upgrade caused the captions to extend far to the right of the picture. If anyone has info on that issue, that'd be great.

  2. cyclocross
    Posted 6 years ago #

    anyone have any ideas? alex?

  3. jddevan
    Posted 6 years ago #

    This appears to be caused by having a clearing div element outside of the for loop in the album template. Which is absurd. The following album template structure gave me double-vision:

    <div id="ngg-album">
        <? foreach($galleries as $g) { ?>
            // blah blah blah
        <? } ?>
        <div class="clear">&nbsp;</div>

    If I remove the clearing div or change it to a <p>, it works as intended.


Topic Closed

This topic has been closed to new replies.

About this Topic