Immortal55 Posted April 9, 2006 Share Posted April 9, 2006 Would it be possible to resize an image to fit a page temporarily? So if an image is uploaded, and its dimensions are large, I can just do <img src="image.jpg" width="PHPcreateddimension" height="PHPcreateddimension">Is this possible? I do not want to have to create a new image I just want it to size the image. Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted April 9, 2006 Share Posted April 9, 2006 I have written a function within my upload class that resamples images above a certain size and creates a whole nedw image based on teh original - but smaller.You need to look at the gd functions in the manual to do this. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.