Forums / General / Problem with image layers

Problem with image layers

Author Message

Björn Dieding@xrow.de

Monday 18 August 2003 2:19:08 am

ez 3.1 final
I have problem controling the index transparency of an image layer and text overlay of an textto image layer.

here is what I wrote in the textto image.ini#
[top]
Family=arial
PointSize=11
TextColor=#000000

I got similar strings with complete differnet results. The only thing that is not the same is the image it selft

image($Child:item.name,imagefile('design/jetstream/images/bt_blank.jpg'),
array($Child:item.name|texttoimage('top'),
hash(transparency,0,halign,center,valign,center)))

On this first image I receive a white! text color with transparent background.

image(concat($#module_result.path.[sub(count($#module_result.path),1)].text),
imagefile('design/jetstream/images/hd_blank.jpg'),
array(concat($#module_result.path.[sub(count($#module_result.path),1)].text)|texttoimage('top'),
hash(transparency,0,halign,center,valign,center)))

On this second image I receive a black text color but a white! background color.

I am a little lost now. can somebody help me? Why do I get the white color in the first example and the white background in the second.

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Jan Borsodi

Tuesday 26 August 2003 6:25:24 am

The first problem I see is the .[, you should either use a single . (dot) or a [ (left bracket).

What does the debug say, do you get some parse errors from the template engine?

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq