WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
[resolved] Two effects displaying on my site (14 posts)

  1. meadpointofview
    Member
    Posted 2 years ago #

    I have put the nextgen code in my page to display a thumbnail gallery and I have picked the ThickBox effect to display the photo description but the native gallery display comes up on top of the ThickBox display thereby seeming to display the gallery in 2 different effects.

    Can anyone please help me?

    here is the URL to my beta site

    https://secure117.inmotionhosting.com/~advent60/wordpress/

    http://wordpress.org/extend/plugins/nextgen-gallery/

  2. Marventus
    Member
    Posted 2 years ago #

    Hi!
    I don't really see what the problem is. Your pics seem to be displaying just fine in Thickbox when clicked on.

  3. mjefferson96
    Member
    Posted 2 years ago #

    Usually you have to chose between a thumbnail viewer and a gallery with built in thumbnail viewer. I've tried to use both and it never works out. Can you not put descriptions on the images in Nextgen?

  4. masubi
    Member
    Posted 2 years ago #

    Hi, Having a similar issue as meadpointofview.

    When images/thumbs are clicked to be viewed larger, it's showing two versions of the gallery overlayed. No descriptions involved though.

    Any suggestions are welcomed.

    Thanks

  5. Marventus
    Member
    Posted 2 years ago #

    @Masubi: Could you please share a link to your site?
    Thanks!

  6. meadpointofview
    Member
    Posted 2 years ago #

    I turned ThickBox back on so people can see what is going on. Anyone able to provide some insight?

  7. Antscran
    Member
    Posted 2 years ago #

    Hi Meadpointofview,

    I can see the issue as described, unsure what it is though.

    I would try tweaking the settings in a systematic order, refreshing the page and see if anything changes. Try using colorbox or one of the other effects to see if it stays the same. Also try in different browsers as the more information the better.

  8. Marventus
    Member
    Posted 2 years ago #

    Hi. The problem is that you have two different lightbox interfaces running at the same time. It could be because your theme already includes lightbox functionality and you have a plugin as well, or two different plugins at the same time.

  9. Antscran
    Member
    Posted 2 years ago #

    Hi Marventus,

    Curious how you found this, was it just through observation/experience or something like Firebug?

    I ask as I want to improve my problem solving of web issues.

    Cheers,

    Ant

  10. Marventus
    Member
    Posted 2 years ago #

    Hi,

    I looked at your source code (Ctrl+U or Right click-->View Source) and found calls to the Next Gen Gallery and Thickbox slideshows. The first slideshow comes from that plugin, but the second one could be coming from a plugin or a theme.

    Cheers!

  11. meadpointofview
    Member
    Posted 2 years ago #

    Hi Marventus - I removed the additional plug-ins even though they were not active and I still have the problem.
    It is not a compatibility issue with additional plugins.

  12. Marventus
    Member
    Posted 2 years ago #

    You are still loading two gallery / slideshow interfaces: your theme, Origin, is loading Fancybox 1.3.4, and you are also running Next Gen Gallery, which uses Shutter by Andrew Sutherland.
    To fix the issue, you can either disable the plugin or edit your theme to remove Fancybox support. To do the latter, look in your theme folder for the file js/footer-scripts.js and delete this chunk:

    /* Fancybox */
    	jqu( "a[href$='.jpg'], a[href$='.jpeg'], a[href$='.png'], a[href$='.gif']" ).attr( 'rel', 'lightbox' );
    	jqu( "a[rel^='lightbox']" ).fancybox( { titleShow: false, overlayOpacity: .8, overlayColor: '#000' } );

    While you are at it, you might also want to delete:

    /* <![CDATA[ */

    as well as:

    /* ]]> */

    CDATA tags are not needed when calling JS scripts externally.

  13. meadpointofview
    Member
    Posted 2 years ago #

    Thank you Marventus!

    I commented out the Fancybox code and that did the trick!

  14. Marventus
    Member
    Posted 2 years ago #

    Cool! Don't forget to mark the thread as resolved whenever you can.
    Cheers!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic