Dynamic Heading Generator?

Author Message

Peter Szmulik

Saturday 10 July 2004 3:26:11 pm

Hi

Sometimes it's nice to be able to use an "unconvetional" font for headings.

http://www.alistapart.com/d/dynatext/heading.php.txt

Could you do this in eZ Publish?

Ekkehard Dörre

Sunday 11 July 2004 2:18:37 am

Yep,
http://ez.no/ez_publish/documentation/development/libraries/ez_template/operators/image_handling
look for texttoimage
e.g.

{$node.name|wash|texttoimage(arial)}

or

{'eZ publish'|texttoimage('arial')}

or search:
http://ez.no/content/search?SearchText=texttoimage
new fonts put in /design/standard/fonts/ - font data for the TextToImage function
settings in settings/texttoimage.ini(.php) e.g.

[arial]
Family=arial
PointSize=30
XAdjustment=0
YAdjustment=0
WidthAdjustment=8
HeightAdjustment=6
BackgroundColor=#ffffff
TextColor=#000000
# Uncomment any of the following values to set absolute sizes
# AbsoluteWidth=200
# AbsoluteHeight=50

Greetings ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Peter Szmulik

Sunday 11 July 2004 5:58:18 am

Cool!

Thanks!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.