[Zope] Storing an image (gif) in oracle table

Oliver Wrede owrede@khm.de
Fri, 04 Feb 2000 12:25:54 +0100


on 22.01.2000 1:58 Uhr, technews@egsx.com at technews@egsx.com wrote:

>> Does anyone have any ideas on how to store an image (gif) into an oracle
>> table through Zope. Zope doesn't seem to support BLOB's as an ZSQL
>> Method argument.

> Why don't you save the URL of the image in the database instead?  Do you
> do relational queries against those images? And store the images somwhere
> else.  They may be served faster that way, instead of a database.  Just a
> suggestion..

Good advice.

But HOW to store an image in the filesystem if it is not already there and
the image uploading person is sitting in front of a HTTP client?

I saw one HOWTO here:
http://www.zope.org/Members/sabaini/externalfiles-howto

But - as a real newbie - i do not really understand how to use the second
script... (and properly install the first one....)

Any hints?


Oliver



.. Oliver Wrede
.. owrede@khm.de

.. Academy of Media Arts, Cologne
.. Peter-Welter-Platz 2 . 50676 Koeln, Germany
.. http://www.khm.de
.. ICQ# 6580315
.. PGP 6.0 Fingerprint:
.. 922C FFA2 9A07 5B8E CB2A  10A2 C370 6A62 2232 196C