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

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

eZ debug

Timing: Jan 30 2025 21:47:24
Script start
Timing: Jan 30 2025 21:47:24
Module start 'layout'
Timing: Jan 30 2025 21:47:24
Module start 'content'
Timing: Jan 30 2025 21:47:25
Module end 'content'
Timing: Jan 30 2025 21:47:25
Script end

Main resources:

Total runtime0.9049 sec
Peak memory usage8,192.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 588.1250151.2109
Module start 'layout' 0.00650.0051 739.3359220.6875
Module start 'content' 0.01160.8925 960.02344,440.8906
Module end 'content' 0.90410.0008 5,400.914111.8516
Script end 0.9049  5,412.7656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.4064160.0002
Check MTime0.00120.1378160.0001
Mysql Total
Database connection0.00080.092110.0008
Mysqli_queries0.816790.2489540.0151
Looping result0.00060.0682520.0000
Template Total0.841993.020.4209
Template load0.00220.240820.0011
Template processing0.839792.791020.4198
Template load and register function0.00140.152810.0014
states
state_id_array0.00100.109110.0010
state_identifier_array0.00100.115720.0005
Override
Cache load0.00180.1995260.0001
Sytem overhead
Fetch class attribute can translate value0.00220.239220.0011
Fetch class attribute name0.00230.252340.0006
XML
Image XML parsing0.00110.122520.0006
class_abstraction
Instantiating content class attribute0.00000.000940.0000
General
dbfile0.00210.2300230.0001
String conversion0.00000.001140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs