PHP image variables - how to?
Moderator: General Moderators
PHP image variables - how to?
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?
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.
you can then select based on whatever criteria you choose and display only the images you wish.