change the default size of image class

Author Message

justin kazadi

Saturday 12 April 2008 2:02:11 am

hello all,

I want to know if it is possible to change the default size of the class image and how?
If it not possible then how to publish (display) an image with [700x400].

thanks in advance.

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

Felix Laate

Saturday 12 April 2008 5:34:40 am

Hi Justin,

have a look at image.ini. It contains all settings for images, amongst them also the sizes for the default versions.

Alter them or your own version that fits your needs.

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.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 20 2025 19:58:07
Script start
Timing: Jan 20 2025 19:58:07
Module start 'layout'
Timing: Jan 20 2025 19:58:07
Module start 'content'
Timing: Jan 20 2025 19:58:08
Module end 'content'
Timing: Jan 20 2025 19:58:08
Script end

Main resources:

Total runtime1.2905 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.0062 588.0313151.2266
Module start 'layout' 0.00620.0034 739.257836.6641
Module start 'content' 0.00961.2800 775.9219549.5469
Module end 'content' 1.28960.0009 1,325.46887.8438
Script end 1.2905  1,333.3125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2430160.0002
Check MTime0.00130.0987160.0001
Mysql Total
Database connection0.00060.047410.0006
Mysqli_queries1.250596.9012540.0232
Looping result0.00060.0479520.0000
Template Total1.245296.520.6226
Template load0.00180.136020.0009
Template processing1.243496.352420.6217
Template load and register function0.00010.008510.0001
states
state_id_array0.00200.155810.0020
state_identifier_array0.00220.169520.0011
Override
Cache load0.00140.1121140.0001
Sytem overhead
Fetch class attribute can translate value0.00060.044920.0003
Fetch class attribute name0.00090.070040.0002
XML
Image XML parsing0.00380.293020.0019
class_abstraction
Instantiating content class attribute0.00000.000640.0000
General
dbfile0.00380.2927220.0002
String conversion0.00000.000540.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
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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs