Page 1 of 1
I have a question for PHP
Posted: Mon Dec 29, 2008 10:18 pm
by buckmajor
Hi there
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?
Many thanks in advance.
CHEERS

Re: I have a question for PHP
Posted: Mon Dec 29, 2008 11:19 pm
by omniuni
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!
Re: I have a question for PHP
Posted: Mon Dec 29, 2008 11:39 pm
by buckmajor
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.
Thanks a lot Omniuni