Using the fabulous FREE PHP upload and image gallery script (35mm Slide Gallery - http://www.andymack.com/freescripts/
) I have created an image gallery which I use to browse product images for simple 'directory/filename' entry into a field in the products table of a MySQL database.
1) With the 'directory/filename' values stored in my database I want to call the images, as required, into a dynamic PHP page from their referenced locations.
Sometimes I require them as thumbnails and sometimes as larger images depending on the page they are called to.
Without storing various 'sized' copies of the original images on the server, is there a way for PHP to code on the fly using some fancy 'functions' that will resize (in ratio) the images as they are referenced from the database.
As great as the 35mm Slide Gallery Script is it offers no way of deleting individual files created in the galleries. Is there a simple way I could add under each thumbnail a link that would delete the image from the directory completely. (All images are jpg format - but there is also an associated .txt file by the same filename created when the file is uploaded.)
Look forward to your ideas!