Hey there,
sorry if this is a newbie question but I have been struggling for about two days now and its just been a one step forward two steps back situation!
What I am trying to do is allow admin users to upload pictures for properties up to a property rentals site (I know how to do this) then add the link to mySQL as part of the info that goes in the mySQL properties table (I can do this too).
Then what I want to do is use the info from the database to generate an img src link that I can use whereever (I can do this bit) BUT I want to use PHP to dynamically resize the image the link refers to depening on whether I am using it as a thumbnail or a full size image etc by mayber calling a 'thumbresize' function or something. I know you can resize with GD but you seem to have to save the file somewhere and I was hoping not to have to do that.
I may be barking up the wrong tree here but I just thought that rather than clutter up my folders (and more importantly the database) with three links for each image size it might be nice just to have one master image that PHP resizes according to where its shown.
To sum up I need some help writing the code that will take the result the mySQL image link (<img src=' " . $row['property_image_1'] . "' />) and make it the size needed for the page that is calling for that data.
Hope that make sense. Thanks geniuses, I am really struggling!