Re: [GENERAL] Graphics Supported? - Mailing list pgsql-general

From Tim Williams
Subject Re: [GENERAL] Graphics Supported?
Date
Msg-id 199901142314.RAA12464@ug.eds.com
Whole thread Raw
In response to Graphics Supported?  (Bernie <bfb@att.net>)
List pgsql-general
> Is it possible to store a gif or jpg image
> in a PG database, then retrieve the image
> and display it on a web page?
>
> If so, how do you create the table?
>
> -Thanks

To propose something horribly simple and direct, perhaps it would
make more sense to actually just store the files on disk and then
simply provide the URL of the file from the database.  Otherwise you're
faced with the issue of using TWO hits (read database calls) to deliver
both the image file (one web page) and its related data (another page).

2 cents,
- Tim

pgsql-general by date:

Previous
From: Kaare Rasmussen
Date:
Subject: Error
Next
From: Gilles Darold
Date:
Subject: Re: [GENERAL] How to display stored image on web page?