WordPress.org

Ready to get started?Download WordPress

Forums

New uploader script breaks compatibility (2 posts)

  1. godwilling
    Member
    Posted 7 years ago #

    The old uploader script generated code like this:

    <a class="imagelink" title="The spirit of Christmas" href="http://www.volentedeo.com/wp-content/uploads/2007/01/spirit.jpg"><img id="image11" alt="The spirit of Christmas" src="http://www.volentedeo.com/wp-content/uploads/2007/01/spirit.thumbnail.jpg" />
    <cite>Click for fullsized image.</cite>

    the new script just generates simple code without any attributes. This breaks compatibility with the lightbox plugin. How can I restore that functionality?

  2. godwilling
    Member
    Posted 7 years ago #

    It's because it generates apostrophes around the variables rather than quotation marks.

    'image.jpg' versus "image.jpg"

Topic Closed

This topic has been closed to new replies.

About this Topic