Title: [Plugin: Gallery] Lightbox effect not working
Last modified: August 20, 2016

---

# [Plugin: Gallery] Lightbox effect not working

 *  Resolved [athenaweb1](https://wordpress.org/support/users/athenaweb1/)
 * (@athenaweb1)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-gallery-lightbox-effect-not-working/)
 * Hi I have installed the plugin, however I am having trouble with the images as
   when clicked on they just appear on another web page with no lightbox effect?
 * [http://wordpress.org/extend/plugins/gallery-plugin/](http://wordpress.org/extend/plugins/gallery-plugin/)

Viewing 15 replies - 1 through 15 (of 65 total)

1 [2](https://wordpress.org/support/topic/plugin-gallery-lightbox-effect-not-working/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/plugin-gallery-lightbox-effect-not-working/page/3/?output_format=md)
[4](https://wordpress.org/support/topic/plugin-gallery-lightbox-effect-not-working/page/4/?output_format=md)
[5](https://wordpress.org/support/topic/plugin-gallery-lightbox-effect-not-working/page/5/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-gallery-lightbox-effect-not-working/page/2/?output_format=md)

 *  Plugin Author [bestwebsoft](https://wordpress.org/support/users/bestwebsoft/)
 * (@bestwebsoft)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-gallery-lightbox-effect-not-working/#post-2751011)
 * Hello,
 * please provide URL of the website so we will be able to analyze this issue and
   fix it, because there could be several variants:
    – you have conflicts between
   scripts and theme scripts or other plugins; – not updated template.
 * Regards,
    Oksana
 *  [jasonDMSQD](https://wordpress.org/support/users/jasondmsqd/)
 * (@jasondmsqd)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-gallery-lightbox-effect-not-working/#post-2751040)
 * Hi Guys,
 * I seem to be having the same problem as athenaweb1 is having. I know that it 
   is conflicting with the WP Anything Slider as when I turn this off the plugin
   works again.
 * The url for the page is [http://wp7.dmsqd.com/fourth-post/](http://wp7.dmsqd.com/fourth-post/)&
   the plugin which it is conflicting with can be found on the home page [http://wp7.dmsqd.com](http://wp7.dmsqd.com).
 * Any help on this would be greatly appreciated.
 * Regards,
 * Jason
 *  [jasonDMSQD](https://wordpress.org/support/users/jasondmsqd/)
 * (@jasondmsqd)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-gallery-lightbox-effect-not-working/#post-2751041)
 * For anyone else that is having this problem double check your source code on 
   the problematic page as jquery was being called into the page twice.
 * Hope this helps.
 *  Plugin Author [bestwebsoft](https://wordpress.org/support/users/bestwebsoft/)
 * (@bestwebsoft)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-gallery-lightbox-effect-not-working/#post-2751042)
 * Hello,
 * Considering that our plugin is using jquery, it is possible that it has a conflict
   with other plugins or even with the theme. It is necessary to check and analyze
   each website separately, in order to provide detailed instructions.
 * Best regards,
    Oksana
 *  [rastavhino](https://wordpress.org/support/users/rastavhino/)
 * (@rastavhino)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-gallery-lightbox-effect-not-working/#post-2751044)
 * Hello,
 * I’m having the same problem and I can’t figure out what went wrong.
 * This is the page where the gallery is located:
 * [http://www.rastavhino.com/?page_id=248](http://www.rastavhino.com/?page_id=248)
 * Any help would be appreciated.
 * Thanks.
 *  Plugin Author [bestwebsoft](https://wordpress.org/support/users/bestwebsoft/)
 * (@bestwebsoft)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-gallery-lightbox-effect-not-working/#post-2751045)
 * Hello,
 * Lightbox is running till the moment when the toolbar uploading is completed. 
   When this toolbar uploading is completed it removes all previous stated scripts
   and lightbox stops working. We are not able to help you with such issue.
 * Regards,
    Oksana
 *  [Kyleriffic](https://wordpress.org/support/users/kyleriffic/)
 * (@kyleriffic)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-gallery-lightbox-effect-not-working/#post-2751052)
 * I am having this same issue… any help would be greatly appreciated!
 * Gallery page link is: [http://freelance.kyleriffic.com/?portfolio=foodies-tv-show-season-3-on-set](http://freelance.kyleriffic.com/?portfolio=foodies-tv-show-season-3-on-set)
 * thanks!
 *  Plugin Author [bestwebsoft](https://wordpress.org/support/users/bestwebsoft/)
 * (@bestwebsoft)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-gallery-lightbox-effect-not-working/#post-2751053)
 * Hello,
 * You have a connection for the additional jquery file in your theme:
 * [http://freelance.kyleriffic.com/wp-content/themes/clientmachine_12/js/jquery-1.3.2.min.js](http://freelance.kyleriffic.com/wp-content/themes/clientmachine_12/js/jquery-1.3.2.min.js)
 * Directly in the header.
 * It is incorrect and troubling WordPress’s scripts work and our plugin too (because
   we are using WordPress jquery file).
 * It is necessary to comment or remove current string from header. If you need 
   jquery then it is necessary to connect it correctly.
    [Here](http://digwp.com/2009/06/including-jquery-in-wordpress-the-right-way/)
   is instructions.
 *     ```
       <?php wp_enqueue_script("jquery"); ?>
   
       <?php wp_head(); ?>
       ```
   
 * Best regards,
    Oksana
 *  [evankumar](https://wordpress.org/support/users/evankumar/)
 * (@evankumar)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-gallery-lightbox-effect-not-working/#post-2751062)
 * I am running the plugin on my website without any issues (www.evankumar.com),
   but I am having an issue with my friends site. [http://sramjit.com/wordpress/?page_id=101](http://sramjit.com/wordpress/?page_id=101)
 *  Plugin Author [bestwebsoft](https://wordpress.org/support/users/bestwebsoft/)
 * (@bestwebsoft)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-gallery-lightbox-effect-not-working/#post-2751063)
 * Hello,
 * Our plugin is using embedded Wordpres’s jquery, your theme is connecting the 
   third-part script for the jquery after uploaded all necessary for the plugin’s
   work scripts:
 * [http://sramjit.com/wordpress/wp-content/themes/Video/library/js/jquery.min.js](http://sramjit.com/wordpress/wp-content/themes/Video/library/js/jquery.min.js)
 * That is why all our scripts stop working. Please remove the call of current file
   in the header.php and instead of it you can write such kind of string:
 * wp_enqueue_script( ‘jquery’ );
 * Or, if you need it as a php code, then see the string below:
 * `<?php wp_enqueue_script( 'jquery' ); ?>`
 * It will allow you to connect jquery script of the WordPress nuclei in your theme
   and avoid conflicts between plugins.
 * Best regards,
    Oksana
 *  [evankumar](https://wordpress.org/support/users/evankumar/)
 * (@evankumar)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-gallery-lightbox-effect-not-working/#post-2751064)
 * That’s awesome, thank you it worked.
 *  [Uberbucket](https://wordpress.org/support/users/uberbucket/)
 * (@uberbucket)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-gallery-lightbox-effect-not-working/#post-2751070)
 * Hi,
 * I recently installed your Gallery Plugin, however I am not able to make it work.
   I created the main Gallery page and several galleries, however this is the error
   message I get when I try to view the page:
 * > Warning: Cannot modify header information – headers already sent by (output
   > started at /home/content/53/10068353/html/wp-content/themes/theme_5661/gallery-
   > template.php:7) in /home/content/53/10068353/html/wp-content/themes/theme_5661/
   > header.php on line 15
 * When I tried to use the shortcode to display a single gallery in an existing 
   page, it works half-way. I see the thumbnails, however when I try to open full
   size image, I get the following error:
 * **“The requested content cannot be loaded. Please try again later.”**
 * Here is the link to that page: [http://dev.californiarhythms.com/#!/portfolio-view/testing](http://dev.californiarhythms.com/#!/portfolio-view/testing)
 * From reading earlier posts I can see that the issue is with the way the template
   is calling JQuery, however I am not able to correct the issue on my own.
    The
   header.php has the following code with line 15 in bold:
 *     ```
       <?php
           $webSiteUrl = get_bloginfo( 'url' )."/";
           $pageURL = 'http';
           if ($_SERVER["HTTPS"] == "on") {
               $pageURL .= "s";
           }
           $pageURL .= "://";
           if ($_SERVER["SERVER_PORT"] != "80") {
               $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];
           } else {
               $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];
           }
           if($webSiteUrl!=$pageURL){
               $pageHash = substr($pageURL, strlen($webSiteUrl), strlen($pageURL));
               <strong>header("Location: ".$webSiteUrl."#!/".$pageHash."");</strong>
               exit;
           }
        ?>
       ```
   
 * _[Moderator Note: Please post code or markup snippets between backticks or use
   the code button. As it stands, your posted code may now have been permanently
   damaged/corrupted by the forum’s parser.]_
 * Can you please help me resolve the issue?
 * Thank you!
 *  Plugin Author [bestwebsoft](https://wordpress.org/support/users/bestwebsoft/)
 * (@bestwebsoft)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-gallery-lightbox-effect-not-working/#post-2751071)
 * Hello,
 * the link includes # as well as url to the image, so you get
    #!/wp-content/uploads/
   2012/11/aliya_protto_20120425_112514300550b15c7c1b2b8.jpg
 * instead of [http://dev.californiarhythms.com/#!/wp-content/uploads/2012/11/aliya_protto_20120425_112514300550b15c7c1b2b8.jpg](http://dev.californiarhythms.com/#!/wp-content/uploads/2012/11/aliya_protto_20120425_112514300550b15c7c1b2b8.jpg)
 * Change #! to a word.
 * Best Regards!
 *  [Fauntelroy](https://wordpress.org/support/users/fauntelroy/)
 * (@fauntelroy)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-gallery-lightbox-effect-not-working/#post-2751072)
 * Hello,
 * As some before me, it seems that I’ve another plugin wich conflicts with gallery:
   I’ve Nivo Slider for my first page, and except if I desactivate it, the slider
   doesn’t work as you can see here: [http://manialingerie.com/collections/spring-summer-13-2/](http://manialingerie.com/collections/spring-summer-13-2/)
 * What can I do to fix it?
 * Thank you!
 *  Plugin Author [bestwebsoft](https://wordpress.org/support/users/bestwebsoft/)
 * (@bestwebsoft)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-gallery-lightbox-effect-not-working/#post-2751073)
 * Hello,
 * there is the following line either in the theme or in any plugin
 * <script type=”text/javascript” src=”[https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js”></script&gt](https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js”></script&gt);
 * and it leads to the conflict of scripts and it does not allow the plugin to work
   correctly. Please delete it.
 * Best Regards.

Viewing 15 replies - 1 through 15 (of 65 total)

1 [2](https://wordpress.org/support/topic/plugin-gallery-lightbox-effect-not-working/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/plugin-gallery-lightbox-effect-not-working/page/3/?output_format=md)
[4](https://wordpress.org/support/topic/plugin-gallery-lightbox-effect-not-working/page/4/?output_format=md)
[5](https://wordpress.org/support/topic/plugin-gallery-lightbox-effect-not-working/page/5/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-gallery-lightbox-effect-not-working/page/2/?output_format=md)

The topic ‘[Plugin: Gallery] Lightbox effect not working’ is closed to new replies.

 * ![](https://ps.w.org/gallery-plugin/assets/icon-256x256.gif?rev=2580845)
 * [Gallery by BestWebSoft - Customizable Image and Photo Galleries for WordPress](https://wordpress.org/plugins/gallery-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gallery-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gallery-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/gallery-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gallery-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gallery-plugin/reviews/)

 * 65 replies
 * 21 participants
 * Last reply from: [dcutri](https://wordpress.org/support/users/dcutri/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-gallery-lightbox-effect-not-working/page/5/#post-2751146)
 * Status: resolved