Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #17972

    Hello.

    I’m using the Foobox lightbox and NextGen gallery. Whenever I click on an image the Foobox lightbox appears as it should however behind the Foobox window the WP lightbox appears which I do not want.

    I have disabled the ‘Javascript thumbnail effect’ setting within the NextGen gallery Options -> Effects and have also tried uploading images to the media library yet don’t click the ‘add to gallery’ button. Neither of these things seem to work and I still get the lightbox behind the Foobox image…

    Any ideas?

    #97721

    Hi,

    Open js > avia.js and look for this code.

    //activates the prettyphoto lightbox
    if(jQuery.fn.avia_activate_lightbox)
    jQuery(container).avia_activate_lightbox();

    Replace it with this code

    //activates the prettyphoto lightbox
    //if(jQuery.fn.avia_activate_lightbox)
    //jQuery(container).avia_activate_lightbox();

    It will deactivate the prettyPhoto lightbox.

    Regards,

    Ismael

    #97722

    Great thanks will give it a go :-)

    #97723

    Perfect. Thanks so much :-)

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Using Foobox – how to stop WP gallery image appearing’ is closed to new replies.