• Resolved w2sparkle

    (@w2sparkle)


    Hi,
    I have used NextGEN Gallery on my site for years, but I have not uploaded new images to my gallery in a long time. Now that I did it, I noticed that NextGEN is stripping html attributes from the descriptions, which it did not do before. I need to have a link in the description with the “download” html attribute: . All my old pictures that I have uploaded and saved earlier, are working fine with the download attribute, but now when I add new pictures and click save, the plugin removes the download attribute. Is there anything I can do to fix this or do I need to change to another plugin? I really like the plugin otherwise, and would not want to change to another. Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @w2sparkle,

    Can you let us know an example of construction that you are trying to enter in the image’s description so we could have a look at it? From what I see from my own installation, it accepts HTML links like in the example from below and it saves them:

    <a href="#">Test</a>

    Thread Starter w2sparkle

    (@w2sparkle)

    Under each thumbnail in my gallery, I have links like this: <a href="http://www.mysite.com/wp-content/gallery/testgallery/testpicture.jpg" download>Download this image</a>. When saved, the download attribute is removed and I am left with: <a href="http://www.mysite.com/wp-content/gallery/testgallery/testpicture.jpg">Download this image</a>. So now, when the link is clicked there is no pop-up window asking where you want to save the file. I want my clients to be able to download pictures from my gallery as easy as possible and this worked fine before.

    • This reply was modified 6 years, 6 months ago by w2sparkle.
    • This reply was modified 6 years, 6 months ago by w2sparkle.

    Hi @w2sparkle,

    Yes, this is intended and it is made for the security reasons. We are filtering several HTML attributes from the inputs. You will need to purchase Pro to be able to offer free downloads.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Download html attribute in description’ is closed to new replies.