Forums / General Questions / no-right-click protect images?

no-right-click protect images?

Locked

Views: 1,557

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
9 Oct 2006, 1:22 PM
#1
mtndan avatar

mtndan

New Zenner

Join Date:
Jan 2006
Posts:
20
Plugin Contributions:
0

no-right-click protect images?

Hi, is it possible to add a "no right click" type of javascript to protect images in the shop? I know it's not really secure, but my client wants this feature.

Where in the zen cart code does it produce the images so I can add this javascript?

Thanks,
Dan

9 Oct 2006, 2:16 PM
#2
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: no-right-click protect images?

You can add it to the file includes/templates/YOUR_TEMPLATE/common/html_header.php

OR if you read the notes in the index.php it tells you how to set up javascript and onload functions in the order that zen reads them.

Hope that helps.

When the world gets in my face I say Have A Nice Day.

9 Oct 2006, 2:24 PM
#3
louis avatar

louis

Zen Follower

Join Date:
Jul 2006
Location:
Johannesburg
Posts:
408
Plugin Contributions:
0

Re: no-right-click protect images?

Have a look at http://www.zen-cart.com/forum/showthread.php?t=44484&highlight=right-click for more info on this. Here you will find various opinions about what you want to do and the advantages/disadvantages of this approach. Also some alternative suggestions.

9 Oct 2006, 9:17 PM
#4
mtndan avatar

mtndan

New Zenner

Join Date:
Jan 2006
Posts:
20
Plugin Contributions:
0

Re: no-right-click protect images?

Thank you both very much.

-Dan