Simple Photo Album With User Control

This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.


Thread Starter
Apr 19, 2010
Hello I'm new to the forum : )

I need help with a website issue.

Server running Windows server 2005, server is on location. Website page would need these features: Simple name and password. Client inputs their name and password. This would be a simple page on the website, for example: . When the client inputs their name and password, they press enter or click the enter button. Then another simple page comes up. It lists picture thumbnails. Click on a thumbnail and the full size image comes up. That's the whole thing. Some rules that would need to be followed are: Someone can't send a link to a picture to someone and they just see the picture. The person that was sent the link would have to login first with the name and password and then get access to the directory the picture is in, and ultimately the picture.

The main thing is user control. When the user logs in they only see the directory that they are given permission to see, they can't see other project pictures, and ppl can't see ANY project without logging in first.

So my question is how do I even start this? Does windows server have a simple way for a web page to send it log in information that would then give the user access to their directory? Is there a php script that would take care of the whole thing? It doesn't need to be super secure, I just want to keep other projects private.

This problem might be soooo simple, that I can't see the solution right now. If anyone has a suggestion, or knows a direction to go, it would be really appreciated!

btw, I picked this forum because I like some of the answers everyone was getting/giving. There are a lot of smart ppl here. : )
Apr 19, 2010
You didn't specify how the pictures are added (just you, or anyone can upload?) and how the thumbnails should be generated. But there are a few ways you go about doing it

1) I'm sure there are some pre-made php/mysql scripts that support what you're talking about, even if they may be bloated with a lot more features. Searching for 'php gallery' might give you some success. But I mean, even something like phpBB forum software could be configured to do what you're talking about, even if it would also include 100 unnecessary features.

2) A more manual solution would be to make physical directories on your disk for each project, and use Apache's htpasswd to make logins for each

3) It wouldn't be too hard to code from scratch in php/mysql. If you don't have any experience maybe not, but if you do:

* Mysql tables to store users and projects
* Sessions to control the user logins
* The raw images stored in an inaccessible location (e.g. outside public_html)
* A php page to control delivery of the images (checks the session and if it's ok, uses readfile to deliver the image from it's hidden location
* Some kind of thumbnailer class to make thumbs of all your photos automatically
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Members online