Forum Moderators: phranque

Message Too Old, No Replies

password protecting photos

How do I protect a photo gallery

         

Grampa

5:11 pm on Nov 9, 2003 (gmt 0)

10+ Year Member



I have a photographer friend who wants me to build her a site. I have the start at:
http://www.example.com/zoomin/
If you click on "Archives" it takes you to a page listing 12 gallery pages with 12 pics on each.
http://www.example.com/zoomin/newgallery1.html
What she wants is to have it so she shows the thumbnail and if you click on download it asks for a password. If you give the right password your download of the full size picture continues. Can this be done without building a page for each photo? There will be 144 photos in the "archives" and 144 in the "Your Photos" area. She wants each picture to have a different password. She wants a simple way to be able to change the pictures herself when she gets more than 288 online. Her old site is here:
<snip>
The jerk charged her $400 for this. I am doing it because she is a local teacher, cute as hell, and I am somewhat bored. Is there a simple way to do this? Thanks. 3's
Grampa

[edited by: engine at 5:22 pm (utc) on Nov. 9, 2003]
[edit reason] No urls, thanks. See TOS [webmasterworld.com] [/edit]

keyplyr

8:54 pm on Nov 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hi Grampa,

Of course the easiest way is password protect the image directory and link each thumbnail to the photo inside that directory. But if she wants a different password for each image then the best way to go is a script. Here's one of dozens of resources that a Google search for "password protection scripts" will return:

h*tp://www.hotscripts.com/ > Perl > Scripts_and_Programs > Password_Protection

Grampa

12:54 am on Nov 10, 2003 (gmt 0)

10+ Year Member



she needs to have a different user/pw for each photo since they are for sale and she doesn't want anyone who has not paid to be able to download her photos. Ideally the client would click the download button, enter their user/pw and the "save or open" box would appear letting them save the image where they want. The images would be named from o1-288.jpg with a simple way to add another gallery or two and have all pictures drawn from one image directory. I have spent many hours online looking for something but no luck yet. Thanks anyway. 3's
Grampa

jamesa

5:01 am on Nov 10, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



To do that you'd just need to push the photos through a script. That way you have total control of who views the photos, and even how many times the are allowed to download them, etc. If you're looking for pre-written scripts look around for one's that do file downloads. Might have better luck there.