[Zope] storing images

3205 5361 1215 9784 3205 5361 1215 9784 <keo@goa.hu>
Sat, 24 Aug 2002 01:35:22 +0200


Hello zope,

  i want to store images, and call them by id.
  it needs to be used from other places, so it will go in a mysql
  table, base64 encoded.

  how to write a function, that gets the image by id, and returns it
  to the browser with the correct content type?

  i should use a python script for that? or can it be made in dtml or
  pt?

  how to make it respond to this?

  http://zopehost/images/image_id.jpg

  or something similar? ... with 'images' being the script....

  thanks,


  k

-- 
don't believe everything you think