eZ Community » Forums » Setup & design » Image : The reference alias original...
expandshrink

Image : The reference alias original file does not exist

Image : The reference alias original file does not exist

Wednesday 22 February 2012 9:56:27 am - 5 replies

Hi there,

I created an image.ini in /extension/foo/settings/ with the following content :

[AliasSettings]
AliasList[]=grandvisuel
 
[grandvisuel]
Reference=reference
Filters[]=geometry/scalewidth=425
Filters[]=geometry/crop=425;225;0;0

But when I try to use this alias I get the following errors :

[ Feb 22 2012 09:26:25 ] [127.0.0.1] Timing Point: Module start 'content'
[ Feb 22 2012 09:26:25 ] [127.0.0.1] eZImageManager::createImageAlias:
The referenced alias 'reference' for image alias 'grandvisuel' does not exist, cannot use it for reference.
Will use 'original' alias instead.
[ Feb 22 2012 09:26:25 ] [127.0.0.1] eZImageManager::createImageAlias:
The reference alias original file  does not exist
[ Feb 22 2012 09:26:25 ] [127.0.0.1] :
Original alias does not exist, cannot create other aliases without it

I made the same thing in another website and haven't had any problem...

Do you have an idea about this problem ?

Thanks,

Damien

Wednesday 22 February 2012 3:12:51 pm

Hi Damien,

Maybe somewhere you are resetting the AliasList table in a image.ini file?

Thursday 23 February 2012 4:56:00 pm

I finaly found the solution.

In fact ImageMagick was activated in override/image.ini.append.php but the server was configured to use GD...

Thank you for your proposition Jean-Luc.

Cheers,

Damien

Thursday 24 May 2012 12:08:06 pm

Hi Damien,

what do you mean with:

Quote from Damien MARTIN :

but the server was configured to use GD...

Thank you.

Cheers

Thursday 24 May 2012 1:41:28 pm

He means that image.ini.append.php didn't have ImageMagick enabled. If it isn't the system falls back to GD - and any fancy filters which rely on IM won't work.

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

Thursday 24 May 2012 1:53:44 pm

Quote from paul bolger :

He means that image.ini.append.php didn't have ImageMagick enabled. If it isn't the system falls back to GD - and any fancy filters which rely on IM won't work.

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

That's right.

It was during a migration from a Windows server to a Linux server.

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from