[Zope-dev] Generated Images Again

David S. Harrison dsh@magma-da.com
Fri, 12 Nov 1999 11:48:33 -0800


"Andrew M. Kuchling" wrote:
> This isn't invoking your function; read the DTML manual about
> <dtml-var>.  Instead, try this:
> 
> <IMG SRC="<dtml-var "GenerateImage(RESPONSE,arg)">">

Well, this successfully calls the function but substitutes
the bits from the PNG image directly into the <IMG> tag.
I mean the image tag becomes: '<IMG SRC="jfdla;jgadjklh32kjhkjhfdkahlfdsa;'g...">'
where the garbage is the bits from the image.  The browser barfs
on this in a major way.  Looks like it is still not quite there.

				David S. Harrison
				(dsh@magma-da.com)