[Zope] External methods and images
Tony McDonald
tony.mcdonald@ncl.ac.uk
Tue, 11 May 1999 14:21:17 +0100
>
>Your external method returns the binary image, while the <!--#var-->
>tag expects data it can include into a _textual_ document. DTML
>Methods and Documents should return a textual format, not binairy
>image data.
>
>To include an image into a HTML document, you can best give the URL
>of your external method to the browser, like so:
>
><IMG SRC="/img?src=s1cb.gif">
>
>The browser will then request that URL from the server, and will get
>the image, wich it will place into it's proper place in the rendered
>HTML document.
>
>
>--
>Martijn Pieters, Web Developer
Oh...mi....gawd. It works. Beautifully.
I need to go back and read the Zope Docs again (and then again). I'm
using <!--#var xyz--> far too much it seems.
Many many thanks Martijn, I think you've helped a rather large
lightbulb go off in my nut.
Cheers again.
Tone.
------
Dr Tony McDonald, FMCC, Networked Learning Environments Project
The Medical School, Newcastle University Tel: +44 191 222 5888
Fingerprint: 3450 876D FA41 B926 D3DD F8C3 F2D0 C3B9 8B38 18A2