Forums

[resolved] [Plugin: NextGEN Gallery] Default image is "undefined" when gallery page loads (2 posts)

  1. jennsweb
    Member
    Posted 2 years ago #

    I have created a customized version of the NGG in two different pages of a site. On the portfolio pages such as
    http://www.lovejoydesigns.net/portfolio/wayland/

    The gallery is doing great.

    On this page however
    http://www.lovejoydesigns.net/featured-products/

    I had to use some CSS trickery to hide the word "Undefined" that appears in the top left when the page first loads. This gallery is created the exact same way as the portfolio galleries, and the JS and related code is also the same. What is causing the the Featured Products page to not load the first image???

  2. jennsweb
    Member
    Posted 2 years ago #

    I found out via this thread: http://wordpress.org/support/topic/235056?replies=42

    That if your description includes hard returns, it will "confuse" the code and that's where Undefined comes from. Simply include the
    tag wherever you need to have line breaks in a description and the image will come up upon page load.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.