This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Install & configuration » Problem with AliasList in...
expandshrink

Problem with AliasList in image.ini.append.php

Problem with AliasList in image.ini.append.php

Wednesday 20 February 2013 6:02:13 pm - 2 replies

Hi,

i give up. I tried it on ezP 2012.12 und on the brand new ezP 2013.1, but i'm not able to override the AliasList-Array-Items in the image.ini.

I defined in my ezpublish_legacy/settings/override/image.ini.append.php:

<?php /* #?ini charset="utf-8"?

[ImageMagick]
IsEnabled=true
ExecutablePath=/usr/bin
Executable=convert

[AliasSettings]
AliasList[]
AliasList[]=headerimage

[headerimage]
Reference=reference
Filters[]=geometry/scaledownonly=2048;320

[foo]
bar[]=test

*/ ?>

This way i can't see my "headerimage" in the array, but i can see my foo-bar stuff. How that? I don't have any image.ini in my siteacces, only in override.

I suppose, i can't override any "injected" settings.

Modified on Wednesday 20 February 2013 6:02:58 pm by Andrei H.

Wednesday 20 February 2013 10:28:32 pm

Hi Andrei!

Try this configuration:

[AliasSettings]
AliasList[]
AliasList[]=headerimage
 
[headerimage]
Reference=
Filters[]
Filters[]=geometry/scaledownonly=2048;320

Hope it helps.

Cheers.

Friday 22 February 2013 12:13:44 pm

You should check if any extensions have a image.ini.append.php file that contains the line AliasList[] (reset/override the AliasList array). 

I would put my image settings in my design extension like this:

extensions/myextension/settings/image.ini.append.php

and make sure that extension i loaded first by putting it at the top of the ActiveExtensions list in settings/override/site.ini.append.php.

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from