Sublime directory Surf the web anonymous Pagerank Monitor


Protecting images

millansoft
Sat 3 February 2007, 06:18 am GMT +0100
Hi, I'm looking for some script that let me hide the path where I get the image that I show.
The idea is that the person can see and save the image, but that he can't do it from other way than the web page that I decide, so avoiding that the user download the images directly with something like Getright, etc. I want something similar to the way that cdcovers.cc works with their covers, you can see them, you can save them, but just from their web page.

Thanks

olaf
Sat 3 February 2007, 09:02 am GMT +0100
first you need to protect your directory with htaccess, then you need to open your file with file functions and present the image data through the php script.
check this snippet:
http://www.finalwebsites.com/snippets.php?id=4

But don't do that with a lot of images with very much visitors (server load)

davidelvar
Sun 4 February 2007, 05:24 pm GMT +0100
I needed this also. Thanks olaf.

Archive for SMF v1.00 by N.P. Valid XHTML 1.0 Transitional