WordPress.org

Forums

NextGen Gallery not loading (14 posts)

  1. theoadamson
    Member
    Posted 3 years ago #

    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

  2. Phil
    Member
    Posted 3 years ago #

    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.

  3. theoadamson
    Member
    Posted 3 years ago #

    Thanks, but it's not even working on the pages with my header.php file.

  4. Phil
    Member
    Posted 3 years ago #

    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();
    ?>
  5. theoadamson
    Member
    Posted 3 years ago #

    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?

  6. Phil
    Member
    Posted 3 years ago #

    I notice that if I right click on the black screen with the loading icon, it appears - otherwise it just hangs.

  7. Phil
    Member
    Posted 3 years ago #

    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. Please use the pastebin]

  8. theoadamson
    Member
    Posted 3 years ago #

    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!

  9. cnymike
    Member
    Posted 3 years ago #

    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. The gallery is supposed to be immediately below the "Follow @CNYweddings on Twitter." line on the homepage.

    any help would be greatly appreciated.

  10. Phil
    Member
    Posted 3 years ago #

    @theoadamson. Let me check...

  11. esmi
    Forum Moderator
    Posted 3 years ago #

    @cnymike: It is considered impolite to interrupt another poster's thread. Please post a new topic.

  12. cnymike
    Member
    Posted 3 years ago #

    @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.

  13. esmi
    Forum Moderator
    Posted 3 years ago #

    @cnymike: Post a new topic.

  14. Phil
    Member
    Posted 3 years ago #

    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. :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags