I have a dtml form that loads a binary image from a python script.
This works fine with no problems, but I want to return the image and
also some other data as well. The only thing is when I return the
information in the form of a list, my image won't load. I think that
the list automatically changes the binary image into a string or
something. Does anybody know about this or some work around by any chance?
Here is my python script "py_get_image()":
*#calling an external method to get binary image
ganttImageData = context.loadGanttWSping()
#returing a list starting with the image, and then a string
return (ganttImageData, ganttImageData)*
Here is the dtml code that works if I don't return it as a list:
Here is the dtml code that doesn't work:
Also, this doesn't work either:
Any help would be much appreciated!
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -