Re: pictures stored in PostgreSQL DB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2007-03-03 at 14:57 +0100, Alain Roger wrote:
> Hi Rob,
> 
> thanks for information.
> As you told me i use 2 files to do what i need. 1 for displaying th
> thumbnail and the other just to display the picture.
> That's works great.
> 
> However, how can i resize the picture (in my thumbnail) if my pictures are
> stored to DB ?
> i mean that my picture is stored in DB as bytea (so in base 8) and therefore
> the imagecopyresampled or imagecopyresize functions do not work.
> I also do not want to create a temporally file on the filesystem just to
> hold the resized picture.
> 
> So is there another possibility how to resize picture ?

Did you read the following link in my previous email?

    http://ca.php.net/manual/en/function.imagecreatefromstring.php

Cheers,
Rob.
-- 
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for       |
| creating re-usable components quickly and easily.          |
`------------------------------------------------------------'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux