PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Can anyone tell me whats the best way to do a photo gallery for a photographer?
I can design which is not a problem but if my client wanted a to secure his photos, so what would be the best way to do this?
First, if you're up to using a database, write the images into the database, and process them through GD to add a watermark or generate the image at a reduced size and quality as per what your client requests.
If you want to go a simpler route, just use .htaccess to restrict access to the folder where the images are stored, and use a script to do the manipulations required. If you would like copy of a script to start with, or more specific help, you can PM me.
Note: I did this just recently for some photographer friends of mine!
omniuni wrote:There are two options that come to mind.
First, if you're up to using a database, write the images into the database, and process them through GD to add a watermark or generate the image at a reduced size and quality as per what your client requests.
If you want to go a simpler route, just use .htaccess to restrict access to the folder where the images are stored, and use a script to do the manipulations required. If you would like copy of a script to start with, or more specific help, you can PM me.
Note: I did this just recently for some photographer friends of mine!
Yes! I would gladly seek your help in this one please.