Scotty2024 Posted November 7, 2009 Share Posted November 7, 2009 How can I resize an image? I would like to take an image that I have in a folder and resize it to make a thumbnail of it. Then save the thumbnail in the same folder as the original image. The image has already been uploaded and is saved in a folder. Is it possible to resize it for a thumbnail? Link to comment https://forums.phpfreaks.com/topic/180631-resize-image/ Share on other sites More sharing options...
rajivgonsalves Posted November 7, 2009 Share Posted November 7, 2009 Yes you can using the GDLibraries following is the link for more information http://www.php.net/manual/en/ref.image.php Link to comment https://forums.phpfreaks.com/topic/180631-resize-image/#findComment-952962 Share on other sites More sharing options...
Scotty2024 Posted November 7, 2009 Author Share Posted November 7, 2009 Is there another method? For some reason the resizing script hangs up on the imagecreatefromjpeg() (or gif, png) call for images larger than 400-500 KB. I have determined that the hang is due to my host (1and1.com) because I have tried the exact script on another server and it worked fine. Is there another method without a call to imagecreatefromjpeg()? Thanks Link to comment https://forums.phpfreaks.com/topic/180631-resize-image/#findComment-952974 Share on other sites More sharing options...
rajivgonsalves Posted November 7, 2009 Share Posted November 7, 2009 not that i've come accross, this is the most standard way and works on most servers so the code you write will be standardized, I suggest you change your host Link to comment https://forums.phpfreaks.com/topic/180631-resize-image/#findComment-952976 Share on other sites More sharing options...
Scotty2024 Posted November 7, 2009 Author Share Posted November 7, 2009 Would love to change the host but can't. Anyone else have any suggestions. My tip: stay away from 1and1.com Link to comment https://forums.phpfreaks.com/topic/180631-resize-image/#findComment-952979 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.