[Zope] image attributes

Dieter Maurer dieter@handshake.de
Wed, 1 May 2002 21:53:01 +0200


Russell Uman writes:
 > i'm trying to set the border attribute of an image tag like so:
 > 
 > <img tal:replace="structure container/images/image.gif" tal:attributes="border string:1">
 > 
 > i get the following error when i load the page
 > 
 > Error Type: AttributeError
 > Error Value: Context instance has no attribute 'getCompilerError'
Looks like a bug.

Are you using an up-to-date ZPT release? If so, file a bug report.

 > how can i add the border attribute to an image?
As a work around, you can probably use the "Image"'s "tag" method.


Dieter