Forums / All Other Contributions/Addons / non-downloadable product pictures?

non-downloadable product pictures?

Locked

Views: 1,040

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
18 Jun 2010, 11:35 AM
#1
bbrace avatar

bbrace

New Zenner

Join Date:
Jun 2010
Posts:
18
Plugin Contributions:
0

non-downloadable product pictures?

hello, is there a way to prevent shoppers from so easily downloading (control-click) product pictures?

/:b

18 Jun 2010, 12:38 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: non-downloadable product pictures?

No, there isn't. If they load your pages, the browser loads the images to the visitor's computer, too.

19 Jun 2010, 1:10 PM
#3
bbrace avatar

bbrace

New Zenner

Join Date:
Jun 2010
Posts:
18
Plugin Contributions:
0

Re: non-downloadable product pictures?

yes, but on some websites, it isn't (somehow) possible to right-click (cntrl-click) on an image and have it download... that's what I would like but have no idea how to do it /:b

19 Jun 2010, 1:15 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: non-downloadable product pictures?

Even with the block on the right click the images are still downloaded to the customer's computer and can be obtained via the temporary directories ... otherwise, they could not see the images in the browser ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

19 Jun 2010, 2:38 PM
#5
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: non-downloadable product pictures?

Also, that no-right-click thing is done with Javascript - all I have to do is disable Javascript in my browser and I can right-click to my heart's content.

19 Jun 2010, 10:45 PM
#6
bbrace avatar

bbrace

New Zenner

Join Date:
Jun 2010
Posts:
18
Plugin Contributions:
0

Re: non-downloadable product pictures?

how do you do the disable right-click thing?
this is what I wanted to know...

/:b

20 Jun 2010, 11:19 AM
#7
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: non-downloadable product pictures?

Just Google 'disable right-click' , but you're wasting your time, and if you ask a question here about a problem you're having on your site, most of the time we'll want to right-click on a page element for one reason or another, and won't bother if you've made it difficult for us.

21 Jun 2010, 1:28 PM
#8
bbrace avatar

bbrace

New Zenner

Join Date:
Jun 2010
Posts:
18
Plugin Contributions:
0

Re: non-downloadable product pictures?

ok, this is the code I found to disable right-click downloads:

<SCRIPT language=JavaScript> <!-- --> var message = "function disabled"; function rtclickcheck(keyp){ if (navigator.appName == "Netscape" && keyp.which == 3){ alert(message); return false; } if (navigator.appVersion.indexOf("MSIE") != -1 && event.button == 2) { alert(message); return false; } } document.onmousedown = rtclickcheck; </SCRIPT>

but where does it go?
hopefully not on each and every image page... :ohmy:

24 Jun 2010, 4:23 PM
#9
bbrace avatar

bbrace

New Zenner

Join Date:
Jun 2010
Posts:
18
Plugin Contributions:
0

Re: non-downloadable product pictures?

ok, this is the code I found to disable right-click downloads:

<SCRIPT language=JavaScript> <!-- --> var message = "function disabled"; function rtclickcheck(keyp){ if (navigator.appName == "Netscape" && keyp.which == 3){ alert(message); return false; } if (navigator.appVersion.indexOf("MSIE") != -1 && event.button == 2) { alert(message); return false; } } document.onmousedown = rtclickcheck; </SCRIPT>

but where does it go?
hopefully not on each and every image page...

24 Jun 2010, 10:43 PM
#10
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: non-downloadable product pictures?

Dont bother yourself with this. It is a pointless waste of time.

If I want an image off someones site, I go to the site, enlarge the pic and hit [FN] + [PRT SC]*** - and whatever is on my screen is now on the clipboard. I "paste" into MS Paint, crop, and save...

(***On many older computers, it's [ALT] + [PRT SC]... My 9 year old daughter figured this out for herself, so I reckon 95% of other savvy users do too. Certainly anyone who is building websites will know that).

Image Handler 2 has a WATERMARK feature that makes it very awkward for people to download and use images - because the watermark is extremely difficult to "airbrush" out...

If you disable right click, it is disabled for EVERYTHING...

20 years a Zencart User

3 Jul 2010, 1:30 PM
#11
bbrace avatar

bbrace

New Zenner

Join Date:
Jun 2010
Posts:
18
Plugin Contributions:
0

Re: non-downloadable product pictures?

(nevertheless this is what I want!)

ok, this is the code I found to disable right-click downloads:

<SCRIPT language=JavaScript> <!-- --> var message = "function disabled"; function rtclickcheck(keyp){ if (navigator.appName == "Netscape" && keyp.which == 3){ alert(message); return false; } if (navigator.appVersion.indexOf("MSIE") != -1 && event.button == 2) { alert(message); return false; } } document.onmousedown = rtclickcheck; </SCRIPT>

but where does it go?
hopefully not on each and every image page.:flex:

3 Jul 2010, 2:17 PM
#12
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: non-downloadable product pictures?

If you want to waste your time that's fine.

The savvy ones amongst us can't be bothered working out how to do something completely pointless.

20 years a Zencart User

3 Jul 2010, 3:13 PM
#13
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: non-downloadable product pictures?

bbrace, I agree wholeheartedly that it's a pointless thing to add to your site. In fact it's annoying and crippling even for legitimate cases where people may need to right-click something on your site, such as a downloadable file you're offering. Disabling right-click in such cases will just frustrate your visitors and drive away sales.

But if you're bound and bent that you know better than the rest, you can add any javascript code to your site by following the posted procedures which are mentioned inside the /docs/ folder of your Zen Cart files and also online at http://www.zen-cart.com/wiki/index.php/Customisation_-_Templates_-_Javascript

Again, strongly not recommended.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.