WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
Help plz (2 posts)

  1. Pauk
    Member
    Posted 1 year ago #

    Please help.
    Duplicate signatures on photographs, ends with the line "class =" thickbox "rel =" set_3 ">
    I am using the latest version 1.98
    screenshot
    http://img-fotki.yandex.ru/get/5806/47616564.0/0_b72a6_50fd43be_orig

    Thanks all for help!

    http://wordpress.org/extend/plugins/nextgen-gallery/

  2. smigliorato
    Member
    Posted 1 year ago #

    I think this probably has to do with the text of your description.

    The caption/description is placed into the title attribute of the link for your image.

    This is basically how it adds the description into the page:

    <a href="path/to/image" title="<strong>your caption</strong>" class="thickbox" rel="set_3" ><img link goes here></a>

    What is happening, is that your caption/description is breaking up the title so it is not being read correctly. (which is why you see the remainder of the <a tag)

    Since you can include HTML and other stuff within that field, it should be properly escaped to prevent something like this from occurring. If your caption had a quote in it, for instance, it would look like this:

    If you set your title to: This is a title with a "
    It would get turned into:
    title="This is a title with a &quot;

    So that quote wouldn't interfere with the quotes surrounding the title, but still show up in your caption.

    First, try changing the caption to something simple, like a single word word. If it stops your issue, we know that it has something to do with the text you currently have in your descriptions.

    If I was able to see the actual html being generated, I might be able to help you more.

    You can try to simplify your captions a bit and remove or change the parts that appear to be causing the issue.

    In your case, the text that is causing the problem appears to be "r/n 0", since that is what appears directly before ".5". I'm not sure what the characters are exactly, since I only have an image to work with.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.