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.