Hi,
I have a question regarding zope with Postgres. I am storing
images in a postgres database using OID's and Bytea's. I have been
trying extensively to get these images to display through a zope dtml
page, but cannot for the life of me. I tried this but it won't show
the image.
dtml method called query image:
<dtml-call "RESPONSE.setHeader('Content-type', 'image/jpg')">
<dtml-return "sql_get_image_oid(userid='1006')">
another dtml method that should display the image:
<img
src="/Examples/Ty/image_testing/query_image"></img>
I tried this with both data types, oid and bytea but I get no results.
If anyone could help me, that would be great. Thanks for your time
Sincerely,
Tyson Wenger