Re: pictures stored in PostgreSQL DB
| From: | Alain Roger | Date: | Sat, 03 Mar 2007 13:57:50 +0000 |
| Subject: | Re: pictures stored in PostgreSQL DB | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-249771@lists.php.net to get a copy of this message | ||
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 ?
thanks a lot,
Al.