[Zope] How to get a raw image?

Robert Rottermann robert@redcor.ch
Tue, 27 Nov 2001 10:00:37 +0100


Gregory,
I think you should return the absolute_url of the image you selected

Robert
----- Original Message -----
From: "Gregory Dudek" <dudek@cim.mcgill.edu>
To: <zope@zope.org>
Sent: Tuesday, November 27, 2001 5:31 AM
Subject: [Zope] How to get a raw image?


>   I need to return a rew image from a URL on my zope server, that
> is, I want to return a random gif using something like
> <dtml-var "_.random.choice(....)">
>
> so that a user on another server can call my zope URL as
>
>   http://myzopeURL.../randomimage.gif
>
> INSIDE using their HTML of the form <img
src="http://myzopeURL.../randomimage.gif">
>
> Anything I try ends up giving back HTML code of the from
>    <img src="....my image ID...">
> instead of the raw image data.  Can anybody help?
>
> Greg
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>