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? Link to comment https://forums.phpfreaks.com/topic/99836-php-thumbnail-creation/ 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. Link to comment https://forums.phpfreaks.com/topic/99836-php-thumbnail-creation/#findComment-510599 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 Link to comment https://forums.phpfreaks.com/topic/99836-php-thumbnail-creation/#findComment-510804 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.