I have solved the issue for the right click...
In the file
SCRIPTS.JSChange
/////////////////////////////////
// disable right-click start///////
function click(e)
{
if (document.all)
if (event.button == 2) return false;
if(document.layers) if (e.which == 3) return false;
}
function click2()
{
event.returnValue=false;return false;
}
if (document.layers)document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=click;
document.oncontextmenu=click2;
// disable right-click end/////////
///////////////////////////////////
To This below.
///////////////////////////////////
// disable right-click start///////
//function click(e)
//{
//if (document.all)
//if (event.button == 2) return false;
//if(document.layers) if (e.which == 3) return false;
//}
//function click2()
//{
//event.returnValue=false;return false;
//}
//if (document.layers)document.captureEvents(Event.MOUSEDOWN);
//document.onmousedown=click;
//document.oncontextmenu=click2;
// disable right-click end/////////
///////////////////////////////////
THEN, and this is important...
Go to the
functions.inc.phpWhich is in the
include folder of Coppermine, and look for this line.
if ($CONFIG['disable_gallery_rightclick'] == 1)
Change this to
if ($CONFIG['disable_gallery_rightclick'] == 0)
Save the page.
Reload the Coppermine page if you have it open, or open it, and right click away. This works on my server..
http://www.cyberpawz.com/coppermine/displayimage.php?pid=1318&fullsize=1Test here.
Cyberpawz