Best way to create a new image class

Author Message

Javier Loureiro

Thursday 27 October 2005 11:18:33 am

I have created a new article class with an image, but I'd like to make the image thumbnail a little bit different, so I checked the image.ini, and the AliasList... Is this the best way to define new thumbnail size for new classes?

Javier Loureiro

Roy Bøhmer

Friday 28 October 2005 2:39:24 am

yes it is. But unless you just change an existing defenition in AliasList, you have to edit the templates which uses your new alias as well.

roy

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 19 2025 09:52:13
Script start
Timing: Jan 19 2025 09:52:13
Module start 'layout'
Timing: Jan 19 2025 09:52:13
Module start 'content'
Timing: Jan 19 2025 09:52:14
Module end 'content'
Timing: Jan 19 2025 09:52:14
Script end

Main resources:

Total runtime0.8063 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.0056 589.2734152.6406
Module start 'layout' 0.00560.0033 741.914139.4766
Module start 'content' 0.00890.7961 781.3906517.0391
Module end 'content' 0.80500.0013 1,298.42978.1406
Script end 0.8063  1,306.5703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3998160.0002
Check MTime0.00130.1581160.0001
Mysql Total
Database connection0.00090.110110.0009
Mysqli_queries0.766295.0231540.0142
Looping result0.00060.0685520.0000
Template Total0.774596.120.3873
Template load0.00200.244320.0010
Template processing0.772695.815720.3863
Template load and register function0.00010.011510.0001
states
state_id_array0.00130.166410.0013
state_identifier_array0.00100.125820.0005
Override
Cache load0.00150.192080.0002
Sytem overhead
Fetch class attribute can translate value0.00040.054320.0002
Fetch class attribute name0.00200.244230.0007
XML
Image XML parsing0.00050.061020.0002
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00090.1098160.0001
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
1content/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: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs