Post by Brook » Wed Feb 02, 2011 6:39 am

I have OpenCart 1.4.9.3 installed.

I want to protect my product images that are on my store website. I would like to prevent people from being able to right click any product image on my website and click save as and be able to save images from my website. Does anyone have any ideas on how to prevent people from stealing my images? Any ideas? Is there any code that I can add?

Thank you for your help.
Brook

Active Member

Posts

Joined
Wed Feb 24, 2010 12:15 am

Post by philbydevil » Wed Feb 02, 2011 7:04 am

There must be some generic, non-OpenCart related codes out there because I have seen this on many websites before (so maybe try Google instead of the forum search). They are pretty easy to get around most of the time though, but it will probably stop the "general public" from being able to right click anywhere on your site.

I heart cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1


User avatar
Active Member

Posts

Joined
Fri Dec 03, 2010 5:20 am

Post by Chones » Wed Feb 02, 2011 7:19 am

There's some javascript you can add that disables right-click, but it doesn't work in all browsers very well. Plus people can just hit the Print screen button and paste into Photoshop.

I would just accept it as a fact of life and not worry too much about it. Put your energy into creating a great shop instead.

http://scarletandjones.com/
http://sharpdressedman.co.uk/
http://coffincompany.co.uk/
http://horsesculptures.co.uk/
If I've helped you out, why not buy me a beer? http://craigmurray.me.uk


User avatar
Active Member

Posts

Joined
Wed Mar 24, 2010 9:07 pm
Location - London

Post by i2Paq » Wed Feb 02, 2011 2:44 pm

Don't forget that your browser will store the image locally in its temp-dir.

Yesterday I found out that someone linked images from my site on his + he stole complete self-written content as well.
I phoned him up and asked him to remove the images (they even showed my domain-name!) and asked him to be creative himself and write hos own content; he refused.

I then just renamed my images and replaced the onces he used on his site with hard porn image, after 2hrs the images AND the content where changed ;D

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by philbydevil » Wed Feb 02, 2011 3:36 pm

i2Paq wrote:I then just renamed my images and replaced the onces he used on his site with hard porn image, after 2hrs the images AND the content where changed ;D
:laugh: That's a great idea!

I heart cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1


User avatar
Active Member

Posts

Joined
Fri Dec 03, 2010 5:20 am

Post by jcgadgets » Wed Feb 02, 2011 5:50 pm

i2Paq wrote:Don't forget that your browser will store the image locally in its temp-dir.

Yesterday I found out that someone linked images from my site on his + he stole complete self-written content as well.
I phoned him up and asked him to remove the images (they even showed my domain-name!) and asked him to be creative himself and write hos own content; he refused.

I then just renamed my images and replaced the onces he used on his site with hard porn image, after 2hrs the images AND the content where changed ;D
As I was reading I was hoping that you would do something like that. Wow, that is FANTASTIC :D nice!


Jared

Active Member

Posts

Joined
Sun Oct 31, 2010 4:49 pm

Post by Brook » Wed Feb 02, 2011 9:52 pm

Just found this... We all know that there is no bullet proof way to protect your images, and that not all browsers will handle this code change, but I was happy with this solution for now. Simple enough, quick and easy. Basically disables the right-click (context menu) functionality from both the right-click of the mouse and disables the same functionality from the keyboard.

In catalog\view\theme\default\template\common\header.tpl
change line

Code: Select all

<body>
to

Code: Select all

<body oncontextmenu="return false;">
Not saying that this is the best solution, just a solution none the less.

Thanks,
Brook

Active Member

Posts

Joined
Wed Feb 24, 2010 12:15 am

Post by peteVA » Wed Feb 02, 2011 11:42 pm

What should be considered is a method to do what a number of carts are now doing - throwing up a watermark over the images so anyone copying them will also copy the watermark.

This is not pre-watermarking each individual image, it seems to be just an overlay when expanding the view that throws the watermark across the image.

I have no idea what the process is, simply know that I see it on a number oi Chinese sites.

A Trusted Wholesale Dropshipper
Web Hosting Under $ 5.00 Month! FREE Shopping Carts!
25,000+ Real Wholesale & Dropship Sources!


User avatar
Active Member

Posts

Joined
Mon Jul 20, 2009 8:25 am

Post by Xsecrets » Thu Feb 03, 2011 12:36 am

you can do that on opencart. search the forums for watermarking.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by peteVA » Thu Feb 03, 2011 5:01 am

Interesting. Looks like an OSC mod, with half a dozen contributors. :)

Have to give it a go, should do the trick.

Thanks!

A Trusted Wholesale Dropshipper
Web Hosting Under $ 5.00 Month! FREE Shopping Carts!
25,000+ Real Wholesale & Dropship Sources!


User avatar
Active Member

Posts

Joined
Mon Jul 20, 2009 8:25 am

Post by rtrtrt » Wed Jun 24, 2015 7:27 pm

Thanks Brooke, I like your way too. ;)

Newbie

Posts

Joined
Fri Jun 19, 2015 3:59 pm
Who is online

Users browsing this forum: Google [Bot] and 96 guests