Site logo

Archived topic

Force Download Images

5 replies · Started by Math on April 6, 2022

Viewing posts 1–6 of 6

Hi,

I have uploaded images to .../wp-content/uploads/ folder. If I copy the link to an image and paste it into a blog article, anyone clicking on the link will take them to the image page.

Is there a way to force downloading the image as a file if anyone clicks on it?

Thank you.

Hi Ying,

I did find that attribute and it works well for general links. I should have clarified my question before...is it possible to do that with the Buttons from GenerateBlocks?

It didn't work when I tried to edit as HTML.

Thank you.

GB Pro has custom attribute field feature, it will work.
https://www.screencast.com/t/UoQZ4OPocmI

If you don't have GB pro, you can try using a WP heading block, then style it into a button using CSS.

Oh wow...how did I not know about that! Thank you so much.

You are welcome :)

This archived topic is closed to new replies.