Hey what's up guys? I was wondering if you could point me in the right direction. I need to disable the option that when your looknig at a picture on the gallery and click on it, it opens up a new window with the picture in full size. I need to disable it, because on there you can right click and save the picture. So i'm in need of either disable right click for the new window( I already disabled right click evreywhere else) or to disable clicking on the picture. If you guys can help me out I would greatly appreciate it!!
edit displayimage.php, find $pic_html = "<a href=\"javascript:;\" onClick=\"MM_openBrWindow('displayimage.php?pid=$pid&fullsize=1','" . uniqid(rand()) . "','scrollbars=yes,toolbar=yes,status=yes,resizable=yes,width=$winsizeX,height=$winsizeY')\">";
$pic_title = $lang_display_image_php['view_fs'] . "\n==============\n" . $pic_title;
$pic_html .= "<img src=\"" . $picture_url . "\" class=\"image\" border=\"0\" alt=\"{$lang_display_image_php['view_fs']}\" /><br />";
$pic_html .= "</a>\n";
and replace with $pic_html = "<!--<a href=\"javascript:;\" onClick=\"MM_openBrWindow('displayimage.php?pid=$pid&fullsize=1','" . uniqid(rand()) . "','scrollbars=yes,toolbar=yes,status=yes,resizable=yes,width=$winsizeX,height=$winsizeY')\">";
$pic_title = $lang_display_image_php['view_fs'] . "\n==============\n" . $pic_title;
$pic_html .= "--><img src=\"" . $picture_url . "\" class=\"image\" border=\"0\" alt=\"{$lang_display_image_php['view_fs']}\" /><br />";
$pic_html .= "<!--</a>-->\n";
Has been asked often already, next time please search before posting.
Recommended however: upload pics in intermediate res in the first place, refer to the batch-resize tutorial.