Title: NextGen Gallery not loading
Last modified: August 20, 2016

---

# NextGen Gallery not loading

 *  [theoadamson](https://wordpress.org/support/users/theoadamson/)
 * (@theoadamson)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/nextgen-gallery-not-loading/)
 * Hi,
 * I have been using NextGen for a while now and it was working fine until the other
   day when I add some additional header files to my site so I can display different
   header on different pages.
 * Since doing this all I get is the loading wheel spinning and the images don’t
   load. In the meantime I have switched my slideshow to the flash version, which
   work fine but ideally I want to be using the java version as people will be viewing
   on Ipads etc.
 * I have looked all over for a solution and tried different things, that has included
   updating the the Nextgen Plugin but not having any luck. I would really appreciate
   any help with this.
 * Thanks in advance

Viewing 13 replies - 1 through 13 (of 13 total)

 *  [Phil](https://wordpress.org/support/users/owendevelopment/)
 * (@owendevelopment)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/nextgen-gallery-not-loading/#post-2292828)
 * Make sure any code you have for different headers all contain the next gen gallery
   info calls in the header. It may only appear in the main header, so you may want
   to make sure you copy&paste it into every variation of header.php you use.
 *  Thread Starter [theoadamson](https://wordpress.org/support/users/theoadamson/)
 * (@theoadamson)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/nextgen-gallery-not-loading/#post-2292831)
 * Thanks, but it’s not even working on the pages with my header.php file.
 *  [Phil](https://wordpress.org/support/users/owendevelopment/)
 * (@owendevelopment)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/nextgen-gallery-not-loading/#post-2292834)
 * Check you have this in all header files (you can delete the comments between 
   the php and wp_head() ).
 *     ```
       <?php 
   
       	/* Always have wp_head() just before the closing </head>
       	 * tag of your theme, or you will break many plugins, which
       	 * generally use this hook to add elements to <head> such
       	 * as styles, scripts, and meta tags.
       	 */
   
       	wp_head();
       ?>
       ```
   
 *  Thread Starter [theoadamson](https://wordpress.org/support/users/theoadamson/)
 * (@theoadamson)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/nextgen-gallery-not-loading/#post-2292841)
 * Hi Thanks for you help on this.
 * I do have this in as, I have seen it mentioned on other post but still no luck.
   proving a to be a tricky one!
 * Any other ideas?
 *  [Phil](https://wordpress.org/support/users/owendevelopment/)
 * (@owendevelopment)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/nextgen-gallery-not-loading/#post-2292845)
 * I notice that if I right click on the black screen with the loading icon, it 
   appears – otherwise it just hangs.
 *  [Phil](https://wordpress.org/support/users/owendevelopment/)
 * (@owendevelopment)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/nextgen-gallery-not-loading/#post-2292849)
 * You have duplicated code! See below for the html output source (you’ll see all
   in one SEO appearing twice amongst other things). You probably have wp_head twice
   somewhere:
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 *  Thread Starter [theoadamson](https://wordpress.org/support/users/theoadamson/)
 * (@theoadamson)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/nextgen-gallery-not-loading/#post-2292855)
 * Thanks so much, you have cracked it, just one thing, my loading graphic is appearing
   in the top left hand corner now?
 * Thanks so much for your help!
 *  [cnymike](https://wordpress.org/support/users/cnymike/)
 * (@cnymike)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/nextgen-gallery-not-loading/#post-2292887)
 * I am having problems suddenly with my gallery slideshow disappearing also. I 
   do not know how to solve this. I’ve checked for duplicate code but don’t think
   there is any. My site is[ here](http://www.cnyweddings.com). The gallery is supposed
   to be immediately below the “Follow @CNYweddings on Twitter.” line on the homepage.
 * any help would be greatly appreciated.
 *  [Phil](https://wordpress.org/support/users/owendevelopment/)
 * (@owendevelopment)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/nextgen-gallery-not-loading/#post-2292889)
 * [@theoadamson](https://wordpress.org/support/users/theoadamson/). Let me check…
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/nextgen-gallery-not-loading/#post-2292891)
 * **[@cnymike](https://wordpress.org/support/users/cnymike/)**: It is considered
   impolite to interrupt another poster’s thread. Please post a new topic.
 *  [cnymike](https://wordpress.org/support/users/cnymike/)
 * (@cnymike)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/nextgen-gallery-not-loading/#post-2292892)
 * [@esmi](https://wordpress.org/support/users/esmi/), quite to the contrary, it
   is impolite to duplicate post the same problem. I am joining this thread because
   I am experiencing a similar issue.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/nextgen-gallery-not-loading/#post-2292893)
 * **[@cnymike](https://wordpress.org/support/users/cnymike/): Post a new topic.**
 *  [Phil](https://wordpress.org/support/users/owendevelopment/)
 * (@owendevelopment)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/nextgen-gallery-not-loading/#post-2292896)
 * The loading symbol has no class (which is why is appears at the top left):
 * `<img alt="" src="http://www.officersfield.com/wp-content/plugins/nextgen-gallery/
   images/loader.gif">`
 * You can locate this in the files for NextGen somewhere, and personally, I would
   wrap it in it’s own div and give it some CSS:
 * `<div class="loadingicon"><img alt="" src="http://www.officersfield.com/wp-content/
   plugins/nextgen-gallery/images/loader.gif"></div>`
 * then:
 *     ```
       .loadingicon {
       margin: 50px auto 0 auto;
       height: 66px;
       width: 66px;
       }
       ```
   
 * That’s what I’d do anyways. 🙂

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘NextGen Gallery not loading’ is closed to new replies.

## Tags

 * [loading](https://wordpress.org/support/topic-tag/loading/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 13 replies
 * 4 participants
 * Last reply from: [Phil](https://wordpress.org/support/users/owendevelopment/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/nextgen-gallery-not-loading/#post-2292896)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
