note 72285 added to function.imagecreatetruecolor

From: Date: Thu, 11 Jan 2007 12:04:53 +0000
Subject: note 72285 added to function.imagecreatetruecolor
Groups: php.notes 
Request: Send a blank email to php-notes+get-121553@lists.php.net to get a copy of this message
Fao all who r trying tu upload image and auto resize (make a thumba nail) and fet black thumb nail. Try this: U upload the image tu a specific DIR and when the big img is uploaded give the path tu big img to the function that makes the thumb nill. i think that the problem is in imagecreatefromjpeg($_FILE["bal"]["tmpName]"); SOLUTION: imagecreatefromjpeg("test/thisimage.jpg"); the image MUST be there! I hope this solves ur problems ---- Server IP: 66.163.161.117 Probable Submitter: 212.200.180.148 ---- Manual Page -- http://www.php.net/manual/en/function.imagecreatetruecolor.php Edit -- https://master.php.net/note/edit/72285 Del: integrated -- https://master.php.net/note/delete/72285/integrated Del: useless -- https://master.php.net/note/delete/72285/useless Del: bad code -- https://master.php.net/note/delete/72285/bad+code Del: spam -- https://master.php.net/note/delete/72285/spam Del: non-english -- https://master.php.net/note/delete/72285/non-english Del: in docs -- https://master.php.net/note/delete/72285/in+docs Del: other reasons-- https://master.php.net/note/delete/72285 Reject -- https://master.php.net/note/reject/72285 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#121553) next »