disable right click disable right click
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

disable right click

Started by Konstantinos, June 16, 2005, 08:50:07 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Konstantinos

I have used javascript to disable right click on images and it works but it doesnt work when a user watches the pics in full image. I guess i must the javascript somewhere else as well for that. Where else must i add it ?

Joachim Müller

edit displayimage.php, find <script language="JavaScript" type="text/JavaScript">
adjust_popup();
</script>
and add your code there accordingly. Please search this forum for the JavaScript no-right-click discussion, might be food for thought for you.

Konstantinos

i added my javascript right below the adjust_popup();
</script>and is working cool

Konstantinos

#3
I got another problem. the no right click works in the full size but the browser displays a little bar from which still u can save the images. any ideas how to wipe out this little bar (floatbar or whatever it is called)

EDITED

<META HTTP-EQUIV="imagetoolbar" CONTENT="no">

this is the solution which disables the image toolbar if anybody is interested in this