| Author |
Message |
switch
Novice


Joined: Jul 09, 2003 Posts: 23
|
Posted: Mon Aug 25, 2003 4:13 pm Post subject: No Right Click for the gallery |
|
|
is there a code out there to disable the right click for the gallery?
i |
|
| Back to top |
|
|
AdBot
|
| Post subject: No Right Click for the gallery |
|
|
|
|
|
| Back to top |
|
 |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Mon Aug 25, 2003 6:27 pm Post subject: |
|
|
| the only way to do that is via javascript to disable the right click. though users can still see the source (and hence the URL to the photo) by using the View->Page Source option from their browser, or saving the entire page (images and all) to their machine. |
|
| Back to top |
|
|
switch
Novice


Joined: Jul 09, 2003 Posts: 23
|
Posted: Mon Aug 25, 2003 10:34 pm Post subject: |
|
|
| well i have the script for that. but i dont know how to insert it on php |
|
| Back to top |
|
|
slackbladder
Moderator


Joined: Mar 29, 2003 Posts: 1038 Location: Cambs,UK
|
Posted: Tue Aug 26, 2003 1:35 am Post subject: |
|
|
| You can place it in yoursite.com/includes/my_header.php after the '?>' |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Tue Aug 26, 2003 7:31 am Post subject: |
|
|
| like i said, though, a javascript to disable the right click (to save images or view page source) doesn't offer much protection, since the view source feature of the browser can reveal the paths. |
|
| Back to top |
|
|
|
|
|
|
|