Image size management problem

Author Message

Pascal France

Tuesday 30 November 2010 2:32:48 am

Hi,

With OE 5.0.4 and eZP 4.2.0 from scratch.

When I upload an image in an article, I can only choose the large, medium, small and original size.
All other sizes don't work. Even those which are defined by default.

For each size which does not work when I use firebug I get:

<img id="embed_preview_image" alt="xxxx" src="/nul" align="xxxx">

Here is the settings/siteaccess/admin_siteaccess/image.ini.append.php file:

http://linuxorable.fr/test/image.ini.append.txt

What I don't understand is that
- Of course it worked perfectly so far
- The fact that even some default sizes are no longer working show that the problem is not the definition of sizes in the ini file.

But I don't know how to debug this problem.

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

André R.

Tuesday 30 November 2010 3:53:26 am

Do you get problems in OE aka in admin interface?

Or on frontpage? (if that is the case then it can be explained by the fact that the settings are defined for admin siteaccess only)

EDIT: as the markup you posted suggested, this is in OE I guess.

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

Pascal France

Tuesday 30 November 2010 3:57:50 am

Hi André,

I meet this problem with OE in the admin interface.

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Pascal France

Tuesday 30 November 2010 7:01:49 am

Hi,

Here is the error log I get in /var/log/error.log when I create a new article and upload an image to insert it in the article:

[ Nov 30 2010 15:50:13 ] [xx.xx.xx.xx] eZImageManager::createImageAlias:
Failed converting var/sole/storage/images/documentation-generale/ajouter-un-fichier-pdf/image5/3802-1-fre-FR/image5.jpg to alias 'small' in directory 'var/solexine/storage/images/documentation-generale/ajouter-un-fichier-pdf/image5/3802-1-fre-FR'
[ Nov 30 2010 15:50:17 ] [xx.xx.xx.xx] eZImageManager::createImageAlias: 
Failed converting var/sole/storage/images/documentation-generale/ajouter-un-fichier-pdf/image5/3802-1-fre-FR/image5.jpg to alias 'medium' in directory 'var/solexine/storage/images/documentation-generale/ajouter-un-fichier-pdf/image5/3802-1-fre-FR' 
[ Nov 30 2010 15:50:17 ] [xx.xx.xx.xx] eZImageManager::createImageAlias: 
Failed converting var/sole/storage/images/documentation-generale/ajouter-un-fichier-pdf/image5/3802-1-fre-FR/image5.jpg to alias 'small' in directory 'var/solexine/storage/images/documentation-generale/ajouter-un-fichier-pdf/image5/3802-1-fre-FR' 
[ Nov 30 2010 15:50:18 ] [xx.xx.xx.xx] index: 
Undefined module: null 
[ Nov 30 2010 15:50:18 ] [xx.xx.xx.xx] error/view.php: 
Error ocurred using URI: /null

In fact, no alias is created from the uploaded image.

I checked the permissions: all directories have permissions 755 and image 666.

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

André R.

Wednesday 01 December 2010 6:23:50 am

I'm out of ideas.. (I assume you checked permissions specifically on var/solexine/storage/images/documentation-generale/ajouter-un-fichier-pdf/image5/3802-1-fre-FR )

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

Pascal France

Wednesday 01 December 2010 8:35:18 am

I sent a mail to my host to give me the path of the binary "convert".
Maybe the system can not find this binary. In such a case, I don't know what would be the error logs.

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Pascal France

Thursday 02 December 2010 5:28:49 am

Hi André,

The problem came from the (bad ?) installation of imagemagick. It has been reinstalled by my host and now all works fine.

Thanks for you help.

Cordially,

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

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