Image Overlays

Author Message

Björn Dieding@xrow.de

Monday 18 August 2003 2:24:36 pm

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 frist 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/

Tony Wood

Monday 18 August 2003 2:26:54 pm

Hi,

This is due to the fact that 3.1 converts gifs to png instead of gifs. If you change image.ini you should be able to change this but since 3.1 this no longer works for me.

hopefully eZ will post a fix.

tony

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Björn Dieding@xrow.de

Monday 18 August 2003 2:51:05 pm

Hi ,
yes I read about this bug. I just wondering. I am using jpg's here. How does this affect me then?

this is my rule set

[Rules]
DefaultRule=image/jpeg;convert
Rules[]=image/jpeg;image/jpeg;convert
Rules[]=image/png;image/png;convert
Rules[]=image/gif;image/png;convert
Rules[]=image/xpm;image/png;convert

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/

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 18 2025 19:27:59
Script start
Timing: Jan 18 2025 19:27:59
Module start 'layout'
Timing: Jan 18 2025 19:27:59
Module start 'content'
Timing: Jan 18 2025 19:28:00
Module end 'content'
Timing: Jan 18 2025 19:28:00
Script end

Main resources:

Total runtime0.6574 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 587.7891152.6094
Module start 'layout' 0.00470.0043 740.398439.4063
Module start 'content' 0.00890.6468 779.8047551.4141
Module end 'content' 0.65580.0016 1,331.218812.5156
Script end 0.6573  1,343.7344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4663160.0002
Check MTime0.00150.2213160.0001
Mysql Total
Database connection0.00070.102410.0007
Mysqli_queries0.596990.8069570.0105
Looping result0.00060.0890550.0000
Template Total0.624094.920.3120
Template load0.00240.363420.0012
Template processing0.621694.558720.3108
Template load and register function0.00010.015710.0001
states
state_id_array0.00120.183710.0012
state_identifier_array0.00110.168720.0006
Override
Cache load0.00180.2667340.0001
Sytem overhead
Fetch class attribute can translate value0.00080.117020.0004
Fetch class attribute name0.00180.270250.0004
XML
Image XML parsing0.00110.164520.0005
class_abstraction
Instantiating content class attribute0.00000.002260.0000
General
dbfile0.00110.1708220.0001
String conversion0.00000.001240.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/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: 17
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs