WordPress.org

Support

Support » Plugins and Hacks » Help plz

Help plz

Viewing 1 replies (of 1 total)
  • smigliorato
    Member

    @smigliorato

    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.

Viewing 1 replies (of 1 total)
  • The topic ‘Help plz’ is closed to new replies.