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 Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
paulman888888 Posted July 26, 2008 Author Share Posted July 26, 2008 your the best thankyou paul Quote Link to comment 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 Quote Link to comment 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. 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.