Bug? View Caching and Image()?

Author Message

Peter Schnuerer

Wednesday 15 June 2005 3:41:42 pm

Hello!

I do merge two images
eZ publish 3.5.2
GD 2.0.23

{let
   postkarte=imagefile($node.object.data_map.image.content.imagemega.url)
   logo=imagefile('design/gallery/images/logo.jpg')
}

{image( $postkarte, array($logo, hash(halign, right, valign, bottom)))}

{/let}

The frist time I view the page, it works fine!

The second time I view the page it does not work any more. As soon as I disable view caching it works again.

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 23:10:27
Script start
Timing: Jan 18 2025 23:10:27
Module start 'layout'
Timing: Jan 18 2025 23:10:27
Module start 'content'
Timing: Jan 18 2025 23:10:29
Module end 'content'
Timing: Jan 18 2025 23:10:29
Script end

Main resources:

Total runtime1.3401 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 588.0313152.6406
Module start 'layout' 0.00720.0034 740.671939.4609
Module start 'content' 0.01061.3279 780.1328435.5156
Module end 'content' 1.33850.0016 1,215.64848.3203
Script end 1.3401  1,223.9688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.2704160.0002
Check MTime0.00130.0987160.0001
Mysql Total
Database connection0.00070.054010.0007
Mysqli_queries1.297396.8066460.0282
Looping result0.00050.0372440.0000
Template Total1.301897.120.6509
Template load0.00200.147120.0010
Template processing1.299896.990820.6499
Template load and register function0.00020.012110.0002
states
state_id_array0.00210.156310.0021
state_identifier_array0.00300.221320.0015
Override
Cache load0.00160.1185110.0001
Sytem overhead
Fetch class attribute can translate value0.00090.064210.0009
Fetch class attribute name0.00060.041520.0003
XML
Image XML parsing0.00190.138810.0019
class_abstraction
Instantiating content class attribute0.00000.000220.0000
General
dbfile0.00210.1591160.0001
String conversion0.00000.000840.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs