Deactivate image download

AI-generated summary

Deactivate image download

The discussion revolves around preventing visitors from downloading full-size images from the forum. eha initiated the conversation, seeking a solution to restrict image downloads, even for the article editor to choose whether others can download their full-size uploads.

elberet suggested enabling the “prevent anons from downloading files” setting, which eha had already implemented. However, eha pointed out that the download link still appears, although clicking on it results in an empty URL.

codinghorror and riking acknowledged the limitation, with codinghorror suggesting suppressing the obvious download button. zogstrip has since implemented this change, and it is now available in the :leopard: release (commit).

hi,
how can i deactivate the image download option.
i don´t want visitors to be able to download fullsize images/pictures from the forum. would be great if there is an option for the article editor to choose if other users or visitors should be able to download his fullsize uploads…

tnx, eric

You can enable the “prevent anons from downloading files” setting which will prevent visitors from downloading any images (at all).

hi jens,
thanks for reply, i am already using this function, maybe there is some room for improvement, because if i click on images, they open in bigger size and show the “download” link on the bottom of the image, if i click on that download-link, an url with no content opens.

maybe someone can remove the download link if the “prevent anons from downloading files” option is activated..?

Yes this is a good suggestion can you take that @zogstrip.

Wait, what? If they can view the image, they can save it…

Right but we could suppress the obvious download button.

Thanks @eha for suggesting that change. It’s now in :leopard:

https://github.com/discourse/discourse/commit/8760f7d817537625b0cbb3a3581ecf2d56f74a14