This functionality is really depending on the typography support on your server. I believe that ImageMagick's convert program can be set up to use Freetype and TTF fonts. This may be able to suit your needs, but you would need to code an external method to utilize ImageMagick to create the buttons for you (well, to call 'convert' at the command-line with arguments for the text and font you want to use); you would likely want to cache buttons, since auto-generated images can be expensive. Even with this, you would need to create a mechanism for making these images accessible to the templates you are using (and thus the users browsing the pages). That said, there may be ways to do this without rolling it out all on your own, but I've never tried anything like this: http://www.zope.org/Members/TheJester/ZButtons On the low-end, if your requirements are simple, and your browser clients can support it, you may seriously want to consider use of CSS and DHTML for making your buttons, since it could be done on the client without all this heavy lifting. Alternately, on the high-end, you may want to consider a product like Macromedia Generator or Adobe Altercast to do this for you on a separate server. Sean -----Original Message----- From: Jaroslav Lukesh [mailto:lukesh@k-net.cz] Sent: Friday, August 23, 2002 9:02 AM To: zope@zope.org Subject: [Zope] dynamically generated image buttons Hi all, it is exist some thing to automatically generate swap image buttons with Zope? I mean that you have two source images (for onmouseover and onmouseout) and that "thing" will "burn" text to that images from some variable (eg., Title). I have migrate from M$ Frontpage where that feature is incorporated and in Zope is missing to me. Many thanks, J. Lukesh _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (1)
-
sean.upton@uniontrib.com