Forums
This topic is locked
stop image download
Posted 10 Feb 2005 19:35:22
1
has voted
10 Feb 2005 19:35:22 Dawn Messier posted:
We have a newspaper website which contains copyrighted photos. Normally people right-click on an image to download it. But some sites set it up so you can't. We don't want people downloading our photos. What code do I need to keep people from downloading them? Replies
Replied 10 Feb 2005 19:51:12
10 Feb 2005 19:51:12 Vince Baker replied:
There is code available to stop the right click function on a page but you can never actually stop people from downloading the images.
The basic principal of how the internet works stops you from controlling this. When a user enters your URL the page and all its contents is downloaded to a temporary folder on their computer so if they want to they can browse you this folder and voila...your images are there....
There are some other ways you can protect your images, create them as flash files or the easiest, apply a watermark on them (most graphics software will allow you to do this).
If you are still sure you want to disable the right click let me know and I will post the code.
Regards
Vince Baker
<strong>DMX Zone Manager</strong>
[VBScript | ASP | HTML | CSS | SQL | Oracle | AS400 | ERP Logic | Hosting]
The basic principal of how the internet works stops you from controlling this. When a user enters your URL the page and all its contents is downloaded to a temporary folder on their computer so if they want to they can browse you this folder and voila...your images are there....
There are some other ways you can protect your images, create them as flash files or the easiest, apply a watermark on them (most graphics software will allow you to do this).
If you are still sure you want to disable the right click let me know and I will post the code.
Regards
Vince Baker
<strong>DMX Zone Manager</strong>
[VBScript | ASP | HTML | CSS | SQL | Oracle | AS400 | ERP Logic | Hosting]
Replied 10 Feb 2005 19:57:18
10 Feb 2005 19:57:18 Dave Thomas replied:
theres not a lot you can do to stop this.
put a no-right click script on it and the image will still be in your internet cahce on the hd.
using firefox (and i think opera) u can just select view image, which shows it in it's own page (which also removes the no-right click script)
u cuold make the images small swf's (flash movies), then its a little harder to get the image.
personally i'd put a very low alpha watermark in the image.
the only reel option you have to stop any downloading whatsoever is to not have any imges to steal <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle> at least as far as i know.
regards
Dave Thomas
<b>DMX Zone Manager</b>
put a no-right click script on it and the image will still be in your internet cahce on the hd.
using firefox (and i think opera) u can just select view image, which shows it in it's own page (which also removes the no-right click script)
u cuold make the images small swf's (flash movies), then its a little harder to get the image.
personally i'd put a very low alpha watermark in the image.
the only reel option you have to stop any downloading whatsoever is to not have any imges to steal <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle> at least as far as i know.
regards
Dave Thomas
<b>DMX Zone Manager</b>
Replied 10 Feb 2005 19:59:19
10 Feb 2005 19:59:19 Vince Baker replied:
Totally in tune dont you think Dave>
Regards
Ultradav edit: but you type faster than me <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>
Vince Baker
<b>DMX Zone Manager</b>
[VBScript | ASP | HTML | CSS | SQL | Oracle | AS400 | ERP Logic | Hosting]
Regards
Ultradav edit: but you type faster than me <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>
Vince Baker
<b>DMX Zone Manager</b>
[VBScript | ASP | HTML | CSS | SQL | Oracle | AS400 | ERP Logic | Hosting]
Replied 11 Feb 2005 03:41:03
11 Feb 2005 03:41:03 Dawn Messier replied:
Thanks a lot! I'm still waiting to hear what people here want to do, but go ahead and give me the code anyway for future use.
Replied 15 Feb 2005 02:03:22
15 Feb 2005 02:03:22 Chris Charlton replied:
One trick I've seen used is <b>a blank 1x1 transparent GIF (dynamically) sized to the size of your image and use a (dynamic) inline style that pulls the original image as the background image</b>. Semi-savvy web surfers will keep trying to download the image they click on but it'll always be a blank 1x1 GIF... until they think it through (or view source code) and figure out the real image is coming in as a background image. Like I said, a trick.
Another way is a <b>tweak on the Flash idea - "saute" the image</b> by making a SWF shell (blank, 1 frame with Actionscript) that uses FlashParams to know what image (JPG/SWF) to load into the flash shell. The image URL will be slightly visible within the <object><embed> tags, but then you can worry about tinkerers on a more higher level, not regular surfers.
~ ~ ~ ~ ~ ~ ~
Chris Charlton <i>- DMXzone Manager</i>
<font size=1>[ Studio MX/MX2004 | PHP/ASP | SQL | XHTML/CSS | XML | Actionscript | Web Accessibility | MX Extensibility ]</font id=size1>
Another way is a <b>tweak on the Flash idea - "saute" the image</b> by making a SWF shell (blank, 1 frame with Actionscript) that uses FlashParams to know what image (JPG/SWF) to load into the flash shell. The image URL will be slightly visible within the <object><embed> tags, but then you can worry about tinkerers on a more higher level, not regular surfers.
~ ~ ~ ~ ~ ~ ~
Chris Charlton <i>- DMXzone Manager</i>
<font size=1>[ Studio MX/MX2004 | PHP/ASP | SQL | XHTML/CSS | XML | Actionscript | Web Accessibility | MX Extensibility ]</font id=size1>