Hello guys & gals,
I’m currently producing a couple of sites for people who would like to be able to upload images and then assign them to various “products”, already within a mySQL/PHP driven system that I’ve written.
I’d like to eventually be able to output the images on the front end in different ways (for instance: have a primary product image and then sub-images (all thumbnails) which, when clicked, will display a lightbox full-sized version). Kind of similar to a typical shopping cart product I guess, but it isn’t a shopping cart. Just a list of products.
The thing I’m struggling with (and yes, I’ve read the sitepoint article entitled “Build An Automated PHP Gallery System In Minutes” and also much of its forum page here) is finding a decent guide/tutorial, using up to-date PHP5 standards (eg. mysqli) etc.
What I want to be able to do on the backend is have a separate section within the admin called “Image Management” (or whatever).
When the admin clicks into that, they can see a “gallery” of all the thumbnails of their current images. From here they can either delete or add new ones.
From the “product management” end of the admin, I’d like some way of being able to associate any number of the uploaded images (from the “image management” area) with the product. Presumably this would best be done via drop-downs, populated with the image names.
Trouble is, I don’t know where to find any decent pre-written scripts, which I can manipulate, or which bits of the afore-mentioned sitepoint tutorial (written in 2003) to mod.
Any help/ideas/suggestions would be gratefully received at this point!
Thanks!
Alex