[Zope] Re: Storing Images in PostgreSQL

nico@beehive.de nico@beehive.de
Wed, 24 Apr 2002 12:06:39 +0200 (CEST)


Hi Andreas, I developed a simple  using ExtFile / LocalFS by storing the
filepath in the SQL table. 
Anyway, now I want to develop a simple application which
stores files and images in a postgresql database table so the data can
also be used by other applications which does not work with Zope or local 
files.

nico


On Wed, 24 Apr 2002, Tille, Andreas wrote:

> On Tue, 23 Apr 2002 nico@beehive.de wrote:
> 
> > I do not use popy DA but Psycopg DA that supports commands for handling
> > postgres large objects. I uploaded an image from the file system into my
> > sql table using lo_import in a ZSQL mehtod. What I don't know is, how to
> > store an image using a simple input form similiar to upload an image into
> > the ZODB. Furthermore, I did not found any documentation on how to get
> > the image from the database table to display it in DTML. Once I get it
> > running, I should write a how-to. :-)
> Would be nice.  On the other hand why not storing images using ExtFile or
> some other product which uses local file system?
> 
> Kind regards
> 
>         Andreas.
>