On Tue, May 1, 2007 5:54 am, Alain Roger wrote:
>> else // both $width and $height are smaller than max, so we need to
>> zoom
Zooming an image is RARELY satisfactory in appearance...
I'd say just leave it alone, personally.
>> $escaped = pg_escape_bytea($thumb); // does not work and it's normal
On Tue, 2007-05-01 at 11:08 -0400, tedd wrote:
> At 12:54 PM +0200 5/1/07, Alain Roger wrote:
> >
> >i do not want to create a tmp file on server and after load it.
> >I would like to do it stored image directly into DB on-fly.
>
> Why?
>
> My understanding is that when you upload a file, it has
At 12:54 PM +0200 5/1/07, Alain Roger wrote:
i do not want to create a tmp file on server and after load it.
I would like to do it stored image directly into DB on-fly.
Why?
My understanding is that when you upload a file, it has to go
somewhere. It might as well go into a tmp folder/file th
On Tue, 2007-05-01 at 12:59 +0200, Tijnema ! wrote:
>
> I don't know if there's a better way, but you could try output
> buffering, so that you start it, output the image with imagejpeg,
> imagepng, imagegif, etc. and then get the contents of the buffer.
That's what I'd suggest also... since it's
On 5/1/07, Alain Roger <[EMAIL PROTECTED]> wrote:
Hi,
I allow web application users to insert their own picture into database.
but i defined a max size limit 130 px width by 160px height.
so for that i determine the max ratio in case of picture does not have this
size.
after that i resize it an
Hi,
I allow web application users to insert their own picture into database.
but i defined a max size limit 130 px width by 160px height.
so for that i determine the max ratio in case of picture does not have this
size.
after that i resize it and would like to store it to DB, however i have some
6 matches
Mail list logo