Thursday 28 April 2005 2:16:55 am
You will need to use the <i>image</i>, <i>imagefile</i> and <i>texttoimage</i> template operators. Basically you will need to layer the original (or scaled) image with a transparent text on top of it. Here's an example from the new documentation, you will need to get the path to the image and pass it to the <i>imagefile</i> operator.
{image( "It's A Kind Of Magic",
imagefile( 'design/example/images/test1.png' ),
array( "It's A Kind Of Magic"|texttoimage( 'smartie' ),
hash( 'transparency', 0.64,
'halign', 'right',
'valign', 'top' ) ) )}
This example will generate an image with 64% transparent text using the "smartie" style. The text will be aligned to the upper right corner of the "example1.png" image. The alternative image text will be "It's A Kind Of Magic" - which is the same as the merged in transparent text.
--
Amos
Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq
|