RE: [PHP] disable ability to download image?
The only way I've found of doing this, is using thumbnails. Obviously it doesn't serve all kinds of purposes, but no matter what kind of protection you use, a user can simply "Save Web Page" and open the image as local in the machine. The things about thumbnails, is that you show the image but in smaller size, but when that same image is shown in normal size, the user find a nice a refreshing watermark on top of it... don't think it's useful? Check then www.corbis.com for a demonstration... > -Original Message- > From: Steph [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 18, 2002 6:14 PM > To: Php-General > Subject: [PHP] disable ability to download image? > > Is there a way to disable the users ability to download images on public > pages. Or is this a Javascript capability? > > ~Steph > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] disable ability to download image?
No. Once you show the user the image, they can get it. You can make it harder by disabling right click or whatever, but it's not going to stop most people. The easiest way around all of that is to just click on the image and drag it to the address bar. It gets around almost all of the javascript nonsense. And if all else fails, a screen shot will work. If you read the archives over the past day, there are ways of regulating who can view the image, though, through a .php script regulating the file transfer. Or, if you're simply looking for a way to stop people from hotlinking to the picture, there are ways to handle that in .htacess and PHP. ---John Holmes... > -Original Message- > From: Steph [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 18, 2002 5:14 PM > To: Php-General > Subject: [PHP] disable ability to download image? > > Is there a way to disable the users ability to download images on public > pages. Or is this a Javascript capability? > > ~Steph > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] disable ability to download image?
No, and no. Once served to the browser the image resides on the user's computer. They can do whatever they want with it. The only thing you can do is use Javascript to disable the user's right mouse button. However the only effect this will have is to piss of your Windows clients, and your Mac clients won't be effected at all. Is the a legitimate reason why you need to do this? Maybe there's another way around your problem. -Kevin - Original Message - From: "Steph" <[EMAIL PROTECTED]> To: "Php-General" <[EMAIL PROTECTED]> Sent: Tuesday, June 18, 2002 3:13 PM Subject: [PHP] disable ability to download image? > Is there a way to disable the users ability to download images on public > pages. Or is this a Javascript capability? > > ~Steph > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] disable ability to download image?
I've generally seen this done in JavaScript, by disabling the right mouse button. Bruce Karstedt President Technology Consulting Associates, Ltd. Tel: 847-735-9488 Fax: 847-735-9474 -Original Message- From: Steph [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 4:14 PM To: Php-General Subject: [PHP] disable ability to download image? Is there a way to disable the users ability to download images on public pages. Or is this a Javascript capability? ~Steph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] disable ability to download image?
Is there a way to disable the users ability to download images on public pages. Or is this a Javascript capability? ~Steph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php