Page 1 of 1

PHP image variables - how to?

Posted: Thu Jan 22, 2009 6:06 am
by tinoda
first i am a newbie in php and I am trying to create a photo gallery with categories. How can I create it in such a way that even computer idiots in other departments of the company can upload their images and make a photo gallery, much more like creating image variables and they get passed to a certain function which then outputs a gallery. thanks guys.

Re: PHP image variables - how to?

Posted: Thu Jan 22, 2009 10:18 am
by Burrito
when you create your upload page, provide some fields for meta data about each image (category, date taken etc). Then save that metadata along with a reference to your image path on a database.

you can then select based on whatever criteria you choose and display only the images you wish.