Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2006
    Posts
    24
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Jan 2005
    Location
    Lake Havasu, AZ
    Posts
    1,149
    Plugin Contributions
    0

    Default 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.
    * I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
    Custom Templates and Zen Services CRS Designs, Inc.

  3. #3
    Join Date
    Jul 2006
    Location
    Johannesburg
    Posts
    447
    Plugin Contributions
    1

    Default Re: no-right-click protect images?

    Have a look at http://www.zen-cart.com/forum/showth...ht=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.

  4. #4
    Join Date
    Jan 2006
    Posts
    24
    Plugin Contributions
    0

    Default Re: no-right-click protect images?

    Thank you both very much.

    -Dan

 

 

Similar Threads

  1. Suggestions for right click protect and ctrl c ????
    By 911Outfitters in forum General Questions
    Replies: 19
    Last Post: 29 Nov 2012, 12:04 AM
  2. Need to right-click protect images
    By beyre in forum General Questions
    Replies: 5
    Last Post: 4 Aug 2009, 03:14 AM
  3. Prevent right-click on images
    By Rob905 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 16 Sep 2007, 07:20 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR