Disable right-click / image download

I know it seems counterintuitive on an OA platform, but we have an upcoming project where there is a rightsholder of images that would like to make it more difficult for readers to download and redistribute images that will appear in the book.

I know that it is impossible to prevent a knowledgeable/determined user from doing so, but would there be a way to accomplish this in Pressbooks? I tried adding a couple of custom codes to the CSS IMG tag, but it didn’t behave as expected (assuming the root underlying PB code overrides it).

I had difficulty trying to place a “blank” image over the real image in PB, which is apparently a common solution for this request in a regular HTML page.

Any thoughts or suggestions are appreciated.

Thanks.

You could try the plugin:Secure Copy Content Protection

This doesn’t appear to be one of the approved plugins that can be added to the Pressbooks WP environment. Or am I looking at out-dated information on installing plugins?

Hi @toddhalvorsen that’s correct. This plugin is not available on enterprise networks hosted by Pressbooks. We don’t provide any built-in tools to make it more difficult to download images and are not actively considering adding this capability to future releases of Pressbooks. If you were really determined to make this harder for site visitors, you could add watermarks to the images or try any number of clever CSS-based hacks (see ChatGPT - Prevent image downloads CSS for some AI-generated suggestions). I would not advise doing this, however, and am unable to support any ‘solutions’ you come up with.

Thanks @SteelWagstaff, that’s what I thought. I’ve tried a couple of the hacks and not had them behave as hoped/expected. I understand that any solution that works would be unsupported.