Re: [PHP] saving temporary image to database

2002-06-29 Thread andy
... sorry I thought it would be to much code. Here is the complete code : $inputImg = ImageCreateFromJPEG($picture_location); # old size $srcX = imagesx($inputImg); $srcY = imagesy($inputImg); # new size $ratio = ($srcY / $dstY); $dstX = ($srcX / $ratio); $outputImg = Image

Re: [PHP] saving temporary image to database

2002-06-29 Thread Rasmus Lerdorf
There is no imagejpeg() call in the code snippet you provided. And you don't say how it is failing. You haven't provided us with enough data to answer this question. -Rasmus On Sat, 29 Jun 2002, andy wrote: > Hi there, > > I would like to save a jpg into a blob field of mysql. The function >