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. Link to comment https://forums.phpfreaks.com/topic/6950-temporary-image-sizes/ 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. Link to comment https://forums.phpfreaks.com/topic/6950-temporary-image-sizes/#findComment-25241 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.