Made in Europe, buy from Europe.

Black Friday

65% off Annual plans

25% off Lifetime · 10 per week

Ends December 2

Get the deal →

How to disable right click on WordPress images with Modula

Updated 3 min read

Modula Image Guardian lets you disable right click on WordPress images. It was formerly known as Right Click Protection. This premium extension makes it harder for visitors to download your images.

Image Guardian can:

  • Disable right-click and Alt+click: Visitors can’t save images directly. It also blocks CTRL+U, so visitors can’t open the page source. The page source is the code of the page.
  • Blur your images: Your images blur when the browser window loses focus. This means the visitor has moved to something else.
  • Block page printing: This also blurs your images.
  • Protect the image URLs: Changes the path to the image. This works for gallery protection only.

You can turn it on for single galleries, or for your whole site.

What you need before you start

  • Modula and Modula Pro: Both plugins are installed and active, with your license key activated.
  • Modula Image Guardian: The extension is turned on in Modula → Extensions.
Watch how to protect the whole site in Settings → Protection, then what a visitor sees on right-click and when leaving the tab. The last part shows Image Guardian for one gallery in the gallery editor.

Disable right click on the whole site

  1. Go to Modula → Settings → Protection.
  2. Under Image Guardian, switch on Protect the whole site.
  3. Write the Protection notice visitors see when they right-click. Leave it empty to use the default: “This content is protected.” Translate it with your multilingual plugin if you need to.
  4. Choose what else to block: Block dragging images, Block selecting text and Blur the page when leaving the tab.
  5. In Exceptions, add the pages or posts where site-wide protection should stay off.

    Image Guardian site-wide protection with a custom protection notice and blocking options
  6. Click Save changes.

Your visitors now get your notice when they right-click anywhere on the site:

A visitor’s right-click showing the custom protection notice on the site

Note: Site-wide protection doesn’t rewrite image URLs. It also doesn’t apply to users who can upload files and edit posts, which means editors and administrators. This lets you keep working on your site. Galleries keep their own Image Guardian settings.

  1. Go to Modula → Galleries and edit the gallery.
  2. Click Protect in the left rail, then click Image Guardian.
  3. Switch on the protection options you want.
  4. Your changes are saved as you make them.

    The Image Guardian section under Protect, with four switches

With Blur images when leaving the tab on, the gallery blurs its images when focus moves away from its browser window. This is the normal gallery display, when the gallery window has focus:

Gallery with focus, images shown normally

This is what visitors see when the window loses focus. This happens when they change tabs or open the inspector, a browser tool that shows the page code.

Gallery without focus, images blurred

More ways to protect your images

You can also use other tools in Modula. You can add a watermark to mark your photos as yours, or put a gallery behind a password.

Was this page helpful?
0 0

Still stuck?

Can’t find the answer?

Write to us with what you tried and what you expected to happen, and we’ll help you sort it out.