PDA

View Full Version : Preventing Theft of Pictures on the Web



NETDEVEL
19-09-2002, 02:34 PM
Hi I saw a Question in IMag titled "Preventing Theft of Pictures on the Web" there is actually a simple answer to this. Put your images inside and swf file. These are flash files and lots of programs apart from Macromedia Flash can make them. Some are, Swish, Ulead gif Animator 5, and others. On top of this, to prevent your flash files being nicked, ( this requires some knowledge ) use a blank flash "movie" and call your flash with the pictures into it, then if some one does steal it, they only get a blank flash file.

NETDEVEL

Peter Johnson
19-09-2002, 02:52 PM
You mean stop people from right-clicking on graphics & saving them to their hard drive?

If you don't mind working with html, you can copy, edit then paste this script to stop them.

<script language="JavaScript"> <!--
// No rightclick script v.2.5
// (c) 1998 barts1000
// barts1000@aol.com
// Don't delete this header!

var message="Sorry, you can't copy the graphics. (OR TYPE WHATEVER MESSAGE YOU WANT IN HERE) "; // Message for the alert box

// Don't edit below!

function click(e) {
if (document.all) {
if (event.button == 2) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
// --> </script>

peterhkpan
19-09-2002, 03:12 PM
Sure that stops bunnies but there are plenty of ways around this. I.E. The path of the graphic is still shown, File SaveAs etc.....
Using flash on the other hand is a good idea, only problem is that you are potentially limiting your audience to those people with the plugin loaded (granted, it is a popular plugin).
Another option if they are original images is to stamp a watermark somewhere on the photo with your address or something like that. That way if they are re-used it's good advertising for you.(this still isn't foolproof when it comes to a graphic artist though.)

NETDEVEL
19-09-2002, 03:14 PM
Hi there, heres another script, this time with no alert. NOTE : all these scripts go between the <head></head> tags.


<script language=JavaScript>
<!--
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document. onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontext menu=clickIE;}
// -->
</script>


NETDEVEL

NETDEVEL
19-09-2002, 03:15 PM
Hi if you need some flash help try www.flashplanet.com

NETDEVEL