note 27311 added to function.imagecopyresized

From: Date: Mon, 02 Dec 2002 00:41:20 +0000
Subject: note 27311 added to function.imagecopyresized
Groups: php.notes 
Request: Send a blank email to php-notes+get-40225@lists.php.net to get a copy of this message
I'm trying to save a thumbnail in mysql blob field along with the orginal image in 1 query (the same query that will add the original, just uploaded by the user, image) I will only be using JPEGs. I have tried various ways including using $_FILES['image']['tmp_name'] (where 'image' is the name of the upload element in my form) in imagecreatefromjpeg then putting that into imagecopyresized. Can anyone help me out. I'm getting the output to imagecopyresized as "Resource id #5". James -- http://www.php.net/manual/en/function.imagecopyresized.php http://master.php.net/manage/user-notes.php?action=edit+27311 http://master.php.net/manage/user-notes.php?action=delete+27311 http://master.php.net/manage/user-notes.php?action=reject+27311

« previous php.notes (#40225) next »