Explorer

Download prevention

How to prevent images to be downloaded

15 REPLIES
Guardian

Re: Download prevention

To disable right click post this to your footer field in Settings - SEO

<body oncontextmenu="return false;">

Explorer

Re: Download prevention

i've seen this advice before, tried it, but in vain, therefore asked it agaig in hope that solution was found. 

but thank you anyway )

Scholar

Re: Download prevention

it works like a dream

Re: Download prevention

Genius, thanks for sharing, works like a charm.

Guardian

Re: Download prevention

Hello @Fotohunt

I can be impossible, to completely block images from being downloaded. If someone wants it bad enough, they will figure out a way. However, there are some steps you can take to refrain those thieves from taking your images.

The following third party site offers some code that will deter visitors from right clicking, copying, and pasting or even seeing the source code of your site. http://www.hypergurl.com/norightclick.html

You can use all three codes. Here is how.

The code below is to disable right click and display a content copyrighted message:

 

<script language=JavaScript> var message="Function Disabled!"; function clickIE4(){ if (event.button==2){ alert(message); return false; } } function clickNS4(e){ if (document.layers||document.getElementById&&!document.all){ if (e.which==2||e.which==3){ alert(message); return false; } } } if (document.layers){ document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS4; } else if (document.all&&!document.getElementById){ document.onmousedown=clickIE4; } document.oncontextmenu=new Function("alert(message);return false") </script>

 

Paste the entire code above into the header field under the 'Settings>SEO' tab in your editor. Then press the enter key a few times to get ready for the second code snippet. (This will keep them separated)


Next copy the following code:


<script language=JavaScript> var message="Function Disabled!"; function clickIE4(){ if (event.button==2){ alert(message); return false; } } function clickNS4(e){ if (document.layers||document.getElementById&&!document.all){ if (e.which==2||e.which==3){ alert(message); return false; } } } if (document.layers){ document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS4; } else if (document.all&&!document.getElementById){ document.onmousedown=clickIE4; } document.oncontextmenu=new Function("alert(message);return false") </script>


Paste it under the first snippet of code in the header field under the 'Settings>SEO' tab.


Finally, copy the next snippet of code here:


<body ondragstart="return false" onselectstart="return false">


Paste this code into 'footer field' under the "Settings>SEO" tab.

 

This code will block your site's source code from being seen even if they can access it using a keyboard shortcut.

Republish the site to activate these codes. Again, it will not offer full protection, but it may slow some efforts down a bit.

Most importantly never upload the full sized or raw photographs. Also, use a watermark across the image. Although it does not prevent the photo from being stolen, some small time thieves won't even bother. There are many, online services, which offer watermarking. Try searching Google to find some of the most popular.

 

Also, Digimarc. This company places a digital fingerprint in the image that people cannot see. If someone uses the image, you will know via their software. This service is not free, but top photographers have sworn by its effectiveness. They have multiple levels of service.. https://www.digimarc.com/application/copyright


Last but not least register your images with the US Copywrite Office http://www.copyright.gov/eco/
If someone does steal your images, you will have some backup to prove they do in fact belong to you.
There is a small fee, but the fee will be tiny compared to the loss of an image.

 

If you use a higher quality DSLR camera you can add author information within the camera's settings; it's then automatically applied to each photo you take. If you use Adobe Photoshop for editing your images. The following tutorial will guide you on adding metadata to images via Photoshop. http://www.photoshopessentials.com/essentials/file-info/
Adobe Bridge includes an extensive metadata area for photographers.

 

Finally, Google has a reverse image search that you can use to upload or link to one of your pictures. It will scour the web looking for that exact image. If found, it will display the picture and the link to where it is being used. https://images.google.com/ Click the camera icon on the search bar to begin.

Tineye does the same thing: http://www.tineye.com/

 

One more thing. You can add a DMCA badge at the bottom of your website, to deter them even more. http://www.dmca.com/
Copy the code and paste it into an embed code element in the footer area of your homepage. It will span the badge across all pages.

 

 

Robin
Senior Technical / Community Specialist
Tourist

Re: Download prevention

Robin, 

 

Are you talking about putting these codes into each pic or on the page where the pics are or for the whole site in once place? If every pic, where do you find the "header field" you describe? Thanks.  

Guardian

Re: Download prevention


slyn wrote:

Robin, 

 

Are you talking about putting these codes into each pic or on the page where the pics are or for the whole site in once place? If every pic, where do you find the "header field" you describe? Thanks.  


Hello @slyn!

If you are referring to the right click, hide source code and prohibiting copy and paste scripts. Then those would not be applied to each photo. The code snippets go into the website's header and footer fields.

For the first two large snippets of code. The disable right click and disable view source. Those would each go into the main header section. To place them there go to the 'Settings' tab. Then click 'SEO' on the left. In the new window. You will see a box called the 'header code' and one called 'Footer code.' Please the first two snippets of code into the 'Header code' box. Be sure to separate them by a few lines, so you don't accidentally delete a portion of the first code when pasting in the second code. If any of the code is missing, it will not work and can cause your site not to load. Please pay close attention that you get the full codes pasted in; including the opening and closing brackets ( < and > ).

The last code, I added that will prohibit copy and paste must go into the 'Footer code' box. The 'Footer code' box is located just above the 'Header code' box under 'Settings>SEO' tab.

 

When you place code in either of these locations on your editor. It will automatically span the entire site and any new pages you create.

 

Please let me know if you have any further questions. I do apologize for the delay in reply. I was off work on Monday and just saw your question.

Robin
Senior Technical / Community Specialist
Explorer

Re: Download prevention

Thank you Robin for your detailed reply. I'll check it out.
Have a nice day )
Michael

Scholar

Re: Download prevention

The scripts worked like a charm. But when i added links to my images the codes did not work anymore. Do you know if there's a workaround to keep both the "rightclick/save as" disabled and at the same time being able to create url adresses on images?

 

Carlos