Protecting Images

I want to protect the images on my site from right-click download. I found this cms code:

img {
   pointer-events: none;

This works really well, the problem is it disables all pointer actions, like hover effects with the mouse. Is there a way to prevent download but still have hover effects?

Thanks so much!

Hey there,

have you tried other ideas from this Stack Overflow? html - Protect image download - Stack Overflow

Re: How to protect images from being downloaded