creation of image variation doesnt work - someone can help?

Author Message

Heiner Wurbs

Wednesday 26 April 2006 4:59:40 am

Hi!

Can someone help me, I have no idea anymore ...
When I upload a new image then the system is not creating anymore the image alias. But I need the aliase but have no idea howto solve this ....

The var/error.log tells me:

The reference alias original file  does not exist
Original alias does not exists, cannot create other aliases without it
Failed creating the referenced alias reference, cannot create alias medium
The reference alias original file  does not exist
Original alias does not exists, cannot create other aliases without it
Failed creating the referenced alias reference, cannot create alias small
The reference alias original file  does not exist

But if I look inside the var directory, I find some the image (but still same size):

-rw-rw-rw-  3 nobody nobody 25915 Apr 26 14:45 wednesday_test.gif
-rw-rw-rw-  3 nobody nobody 25915 Apr 26 14:45 wednesday_test_large.gif
-rw-rw-rw-  3 nobody nobody 25915 Apr 26 14:45 wednesday_test_reference.gif

(This is a linux test installer)

In my /settings/override/image.ini.append.php

[ImageMagick]
IsEnabled=false

So ImageMagick is disabled!

In my siteaccess image.ini I have the following (default, nothing changed):

[AliasSettings]
AliasList[]
AliasList[]=small
AliasList[]=medium
AliasList[]=listitem
AliasList[]=articleimage
AliasList[]=articlethumbnail
AliasList[]=gallerythumbnail
AliasList[]=imagelarge
AliasList[]=large
AliasList[]=rss
AliasList[]=logo

In the siteaccess of the admin there are no image.ini, but I think its not necessary.

Whats the problem ???

Thanks very much for your help!
Heiner

Heiner Wurbs

Wednesday 26 April 2006 7:05:22 am

ok, I found it. There were two reasons:
1) the php inside the linux installer does not include the gdlib
2) using imagemagick - works fine

3) all OTHER image variations are created ON THE FLY! So, this could be interessting for other users:

If you upload an image an do nothing else, there are only 1 images:

-rw-rw-rw-  1 nobody nobody 2436 Apr 26 16:59 test_php.gif

If you click in the administration interface to the newly created image, then you see the full view of the image, so NOW, the large image variation is created:

-rw-rw-rw-  1 nobody nobody 2436 Apr 26 16:59 test_php.gif
-rw-rw-rw-  1 nobody nobody 2428 Apr 26 17:00 test_php_large.gif
-rw-rw-rw-  1 nobody nobody 2428 Apr 26 17:00 test_php_reference.gif

If you edit this image, the admin interface shows you the medium alias, again a new variation is created:

-rw-rw-rw-  1 nobody nobody 2436 Apr 26 16:59 test_php.gif
-rw-rw-rw-  1 nobody nobody 2428 Apr 26 17:00 test_php_large.gif
-rw-rw-rw-  1 nobody nobody 2428 Apr 26 17:01 test_php_medium.gif
-rw-rw-rw-  1 nobody nobody 2428 Apr 26 17:00 test_php_reference.gif

and so on ...

Maybe it helps someone and makes the creation of image variations more clear!
Heiner

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.