image.ini override problem

Author Message

Benjamin Selmer

Tuesday 28 August 2007 5:24:30 am

In settings/image.ini it says:

[large]
Reference=reference
Filters[]=geometry/scaledownonly=300;300

In settings/siteaccess/mysite/image.ini.append.php i put:

[large]
Reference=
Filters[]=geometry/scaledownonly=389;450

But my images are still scaled to 300px. Why? Shouldn't settings/siteaccess/mysite/image.ini.append.php override settings/image.ini?

I hav off course cleared the cache. I hav also tried to delete the images end upload them again.

Using 3.9.2 with ezwebin.

André R.

Tuesday 28 August 2007 6:39:50 am

try:

[large]
Reference=
Filters[]
Filters[]=geometry/scaledownonly=389;450

Filters[] is a array, so what you are asking for in you config is first scale down to 300;300 then to 389;450.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Benjamin Selmer

Tuesday 28 August 2007 11:38:39 pm

So I need to add the line

Filters[]

to actually override the array instead of just adding an item to it?

André R.

Wednesday 29 August 2007 12:59:10 am

Yes, this clears the array.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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 11:32:02
Script start
Timing: Jan 18 2025 11:32:02
Module start 'layout'
Timing: Jan 18 2025 11:32:02
Module start 'content'
Timing: Jan 18 2025 11:32:04
Module end 'content'
Timing: Jan 18 2025 11:32:04
Script end

Main resources:

Total runtime1.3600 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0074 589.0313152.6250
Module start 'layout' 0.00740.0039 741.656339.4453
Module start 'content' 0.01131.3472 781.1016559.6094
Module end 'content' 1.35860.0014 1,340.710912.1641
Script end 1.3600  1,352.8750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.3054160.0003
Check MTime0.00150.1129160.0001
Mysql Total
Database connection0.00100.071410.0010
Mysqli_queries1.287594.6662600.0215
Looping result0.00060.0466580.0000
Template Total1.317496.920.6587
Template load0.00200.148220.0010
Template processing1.315496.715420.6577
Template load and register function0.00020.014010.0002
states
state_id_array0.00110.083310.0011
state_identifier_array0.00190.141320.0010
Override
Cache load0.00170.1285240.0001
Sytem overhead
Fetch class attribute can translate value0.00100.074420.0005
Fetch class attribute name0.00150.109360.0002
XML
Image XML parsing0.01030.755720.0051
class_abstraction
Instantiating content class attribute0.00000.001580.0000
General
dbfile0.00960.7081230.0004
String conversion0.00000.000640.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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/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: 22
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs