I know how to do that for 1 picture. But i want to display the pictures as thumbnail... so several pictures on the same PHP pages, with some texts. therefore, your solution does not correspond to what i need. Sorry. AL. On 3/3/07, Matt Carlson <saryon@xxxxxxxxxx> wrote:
If I were you, I would make a page that does nothing but returns an image. Something like getimage.php?image=<whatever you are using in your db> and call it with <img src="getimage.php?image=xxx" />. Hope that helps. ----- Original Message ---- From: Alain Roger <raf.news@xxxxxxxxx> To: PHP General List <php-general@xxxxxxxxxxxxx> Sent: Saturday, March 3, 2007 3:18:25 AM Subject: pictures stored in PostgreSQL DB Hi, It's amazing that my previous post has raised so much consideration about the fact to store or not pictures into DB. However, none of those posts answered to my question... How can i retrieve and display those pictures to my PHP pages ? Basically, on my PHP page I have some texts and I would like to extract from DB the pictures to display. Therefore, set the header to mine JPEG or GIF does not allow to have text also. So please, how can i do to display pictures from DB, when my PHP page also include texts and other images (from filesystem) ? In fact i would like to do something like a thumbnail... thanks a lot, -- Alain ------------------------------------ Windows XP SP2 PostgreSQL 8.1.4 Apache 2.0.58 PHP 5
-- Alain ------------------------------------ Windows XP SP2 PostgreSQL 8.1.4 Apache 2.0.58 PHP 5