paulman888888 Posted July 26, 2008 Share Posted July 26, 2008 Ive been looking for a php script that uploads and makes a simple thumbnail then saves it. But everyone i click on says with extras like 'blah' and 'blah blah'. Can you please give me a link to a thumbnail script that has no extra features. Thankyou Paul Link to comment https://forums.phpfreaks.com/topic/116716-i-have-had-enough/ Share on other sites More sharing options...
AndyB Posted July 26, 2008 Share Posted July 26, 2008 http://fundisom.com/phparadise/php/image_handling/image_upload_and_resize just make sure you set upload folder permissions to write-enabled Link to comment https://forums.phpfreaks.com/topic/116716-i-have-had-enough/#findComment-600124 Share on other sites More sharing options...
paulman888888 Posted July 26, 2008 Author Share Posted July 26, 2008 your the best thankyou paul Link to comment https://forums.phpfreaks.com/topic/116716-i-have-had-enough/#findComment-600127 Share on other sites More sharing options...
paulman888888 Posted July 26, 2008 Author Share Posted July 26, 2008 It only does jpeg. Does that mean; i have to add some more code at the begging to convert the image to JPEG or is there away to just resize PNG? Thankyou Paul Link to comment https://forums.phpfreaks.com/topic/116716-i-have-had-enough/#findComment-600144 Share on other sites More sharing options...
MFHJoe Posted July 26, 2008 Share Posted July 26, 2008 Change ImageCreateFromJpeg to ImageCreateFromPng, and ImageJpeg to ImagePng. Both PNG functions exist, so there should be no problem, however I'm not very experienced with the GD library so there may be complications... Try it and see what happens. Link to comment https://forums.phpfreaks.com/topic/116716-i-have-had-enough/#findComment-600171 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.