Title: image opens 2x
Last modified: August 20, 2016

---

# image opens 2x

 *  [rombeer](https://wordpress.org/support/users/rombeer/)
 * (@rombeer)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/image-opens-2x/)
 * When I click on a thumbnail, the image opens twice. Obviously, once for the theme(“
   expose”) itself, and a second time with the NGG.
    Does that mean that the theme
   doesn’t work with NGG? Any ideas how to fix the problem? (there are no plugins
   to deactivate)
 * [http://wordpress.org/extend/plugins/nextgen-gallery/](http://wordpress.org/extend/plugins/nextgen-gallery/)

Viewing 1 replies (of 1 total)

 *  [smigliorato](https://wordpress.org/support/users/smigliorato/)
 * (@smigliorato)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/image-opens-2x/#post-3234579)
 * A link to your site will always make it easier to see what’s going on!
 * From your description, it sounds like your theme includes a javascript file that
   the theme includes gives a lightbox effect to all images.
 * I looked up “expose” and it looks like you have the Expose Gallery theme for 
   ThemeForest from kriesi.at?
 * That theme includes prettyPhoto, another lightbox. That is _probably_ the issue,
   but I would have to look at your site to be sure.
 * According to kriesi.at, this is what you need to do:
 *     ```
       Add this class to disable it on single images:
       class="noLightbox"
       ```
   
 * or, to disable it completely, open up the js/avia.js file
    and comment out this
   bit:
 *     ```
       It will look like this
       //activates the prettyphoto lightbox
       	if(jQuery.fn.avia_activate_lightbox)
       	jQuery('body').avia_activate_lightbox();
   
       Change it to this
       //activates the prettyphoto lightbox
       	//if(jQuery.fn.avia_activate_lightbox)
       	//jQuery('body').avia_activate_lightbox();
       ```
   
 * I don’t know how familiar you are with digging through the code. Let me know 
   if you need help.

Viewing 1 replies (of 1 total)

The topic ‘image opens 2x’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [smigliorato](https://wordpress.org/support/users/smigliorato/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/image-opens-2x/#post-3234579)
 * Status: not resolved