[Zope] Using a generated image map

Peter Bengtsson mail@peterbe.com
Tue, 27 May 2003 00:52:48 +0100


At 15:49 2003-05-26 +0200, Yves Bastide wrote:
>Hi,
>
>I've got a script which generates both an image and an image map.  How 
>to  use them from a ZPT?  (The problem: the image must be passed "by 
>reference", and the map "by value")

Do it the easy way:

<h3> My imagemap </h3>

<img tal:replace="structure here/getMyImage" />
<p tal:replace="structure here/getMyImageMap" > Here goes the imagemap html 
stuff</p>

Using the power of ZPT for these kinds of small things is overhead.

Peter

>Thanks for any help,
>
>Yves
>
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://mail.zope.org/mailman/listinfo/zope
>**   No cross posts or HTML encoding!  **
>(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
>http://mail.zope.org/mailman/listinfo/zope-dev )