rofl90 Posted April 6, 2008 Share Posted April 6, 2008 Whats the best way for me to make a thumbnail of an image when somebody uploads it to the site, whilst keeping its path in a database? Quote Link to comment Share on other sites More sharing options...
unsider Posted April 6, 2008 Share Posted April 6, 2008 Requires GD library, (can use others as well, but I think GD is widely accepted). Check php_info() to see if it's enabled. http://www.webcheatsheet.com/php/create_thumbnail_images.php This should get you started. Quote Link to comment Share on other sites More sharing options...
rofl90 Posted April 6, 2008 Author Share Posted April 6, 2008 Yes, but I don't want to create the file I just want to analyse an image, and feed me back a height no bigger than 150 x 150, non destorted eg 120 x 150 or 150 x 76 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.