Replacing ezimage with ezimagefile

Author Message

Andy Caiger

Thursday 22 July 2010 2:38:50 am

We're trying to upgrade a site from eZ 4.0 to 4.3 and have found a lot of code changes between 4.0 and 4.1. The one we're stuck on at the moment is PHP code that uses the ezimage class. After 4.1, the ezimage class has been removed in favour of ezimagefile, but the functionality of these is not the same. Is there any documentation on how to migrate code from ezimage to ezimagefile?

EAB - Integrated Internet Success
Offices in England, France & China.
http://www.eab.co.uk http://www.eab-china.com http://www.eab-france.com

Andre Bottin

Friday 24 September 2010 7:48:07 am

Isn't there anyone who has come across this?? Are we the only one using ezimagefile and upgrading to 4.3??

EAB - Integrated Internet Success
Offices in England, France & China.
http://www.eab.co.uk http://www.eab-china.com http://www.eab-france.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 00:59:05
Script start
Timing: Jan 18 2025 00:59:05
Module start 'layout'
Timing: Jan 18 2025 00:59:05
Module start 'content'
Timing: Jan 18 2025 00:59:06
Module end 'content'
Timing: Jan 18 2025 00:59:06
Script end

Main resources:

Total runtime0.8548 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0073 591.1953152.6250
Module start 'layout' 0.00730.0035 743.820339.4609
Module start 'content' 0.01080.8419 783.2813528.0156
Module end 'content' 0.85270.0020 1,311.29698.1563
Script end 0.8547  1,319.4531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.4295160.0002
Check MTime0.00140.1602160.0001
Mysql Total
Database connection0.00090.101910.0009
Mysqli_queries0.807994.5196540.0150
Looping result0.00050.0621520.0000
Template Total0.815695.420.4078
Template load0.00220.257720.0011
Template processing0.813395.152220.4067
Template load and register function0.00010.013810.0001
states
state_id_array0.00170.203610.0017
state_identifier_array0.00190.224420.0010
Override
Cache load0.00180.206080.0002
Sytem overhead
Fetch class attribute can translate value0.00080.090220.0004
Fetch class attribute name0.00130.150740.0003
XML
Image XML parsing0.00190.223320.0010
class_abstraction
Instantiating content class attribute0.00000.001140.0000
General
dbfile0.00320.3783210.0002
String conversion0.00000.000940.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
2content/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: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs