| | |
script to protect images
Please support our Graphics and Multimedia advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: May 2008
Posts: 20
Reputation:
Solved Threads: 0
I am working on a website that showcases other artist's work. How does one program the images to display beautifully without allowing
the end-user to steel the image?
In the past, I've used a script that just disables the right click function. I'd like something a bit more sofisticated where it is an
ecommerce site. Remember, I am not a sofisticated programmer...so be specific as to what to do with script if you send any.
Thanks!
____________________
<URL snipped>
the end-user to steel the image?
In the past, I've used a script that just disables the right click function. I'd like something a bit more sofisticated where it is an
ecommerce site. Remember, I am not a sofisticated programmer...so be specific as to what to do with script if you send any.
Thanks!
____________________
<URL snipped>
Last edited by peter_budo; Jun 6th, 2008 at 12:49 pm.
Hi,
You can make watermarks on images, most of the sites using that format only. Because there are so many ways to get the image from the net. If you disabled right click, they will try to the use PrintScreen option to get your image.
You can make watermarks on images, most of the sites using that format only. Because there are so many ways to get the image from the net. If you disabled right click, they will try to the use PrintScreen option to get your image.
•
•
Join Date: Mar 2006
Posts: 194
Reputation:
Solved Threads: 21
Disabling right click doesn't work anyway because someone can view the source to see the url of the picture with the file name, type that into a browser window and you have the picture in a window all by itself with no disbaled right click.
Who was the first person to look at a cow and say, "I think I'll squeeze these dangly things here, and drink whatever comes out!"
WaterMark is nothing but Print your name or brand name in center of the image by reducing the opacity to low level.
Often it works to press space bar while right clicking and there you go-save image...
If they REALLY want that image there is always a way to get it? It is also quite irritating to have right click disabled cos im used to browsing by right-clicking and opening links in new tabs...
I suppose even watermark can be even painted over in Photoshop...LOL(One hell of a job though)
I was contemplating a site with artwork myself... thought to put a copyright notice in a bottom corner of the image... cos watermark looks scary....
I suppose the only way to avoid prints is not to put high resolution image? I dunno....
If they REALLY want that image there is always a way to get it? It is also quite irritating to have right click disabled cos im used to browsing by right-clicking and opening links in new tabs...
I suppose even watermark can be even painted over in Photoshop...LOL(One hell of a job though)
I was contemplating a site with artwork myself... thought to put a copyright notice in a bottom corner of the image... cos watermark looks scary....
I suppose the only way to avoid prints is not to put high resolution image? I dunno....
Graphics and Multimedia Syntax (Toggle Plain Text)
<SCRIPT LANGUAGE="JavaScript"> function right(e) { var msg = "right-clicking on images is not permitted."; if (navigator.appName == 'Netscape' && e.which == 3) { alert(msg); return false; } if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) { alert(msg); return false; } else return true; } function trapclick() { if(document.images) { for(i=0;i<document.images.length;i++) { document.images[i].onmousedown = right; document.images[i].onmouseup = right; } } } </SCRIPT>
Place this code in the body tag:
Graphics and Multimedia Syntax (Toggle Plain Text)
<BODY onLoad="trapclick()">
if you any doubts search this page
http://www.mediacollege.com/internet...avascript.html
Last edited by sreein1986; Jun 23rd, 2008 at 10:02 am.
Thanx,
Shiriyal
http://shiriyal.blogspot.com/
if you problem solved add me as a reputation and mark it mark as solved
Shiriyal
http://shiriyal.blogspot.com/
if you problem solved add me as a reputation and mark it mark as solved
![]() |
Similar Threads
- Trying to create a login system (PHP)
- HJT log - my comp been acting funny (Viruses, Spyware and other Nasties)
- very slow pc (Viruses, Spyware and other Nasties)
- Think I have VX2 and others...Logs posted (Viruses, Spyware and other Nasties)
- Can't get rid of Backdoor.Colfusion (Viruses, Spyware and other Nasties)
- Unknown Internet Explorer Issue (Viruses, Spyware and other Nasties)
- non access to images on web (HTML and CSS)
- Some Basic Code Hopefully (Help Needed) (HTML and CSS)
Other Threads in the Graphics and Multimedia Forum
- Previous Thread: Flash
- Next Thread: Photoshop file saving problem
| Thread Tools | Search this Thread |
3d 10 actionscript3 adobe adobeacrobat adobereader air ajax amazon amf apple button cart childprotection cloud dashboard dell design dojofoundation dreamweaver ebay eclipse ecommerce elasticcomputecloud embed endorsement extra family flash flash-develop flashlite flex free harddrive iamthwee ibm illustrator imflash intel interactivemap javafx javascript laptop legal map micron microsoft mobile monitoringsoftware moonlight multimedia myspace nand news novell panorama pdf pedophiles photoshop photosynth php safety sandisk security shopping silverlight solidstatedrive sproutcore ssd streaming swf table ukmap unload unwanted video vulnerability web white.space xml zend zephyr zeroday






