Forums / Install & configuration / Image size management problem

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

eZ debug

Timing: Jan 29 2025 13:47:14
Script start
Timing: Jan 29 2025 13:47:14
Module start 'content'
Timing: Jan 29 2025 13:47:14
Module end 'content'
Timing: Jan 29 2025 13:47:14
Script end

Main resources:

Total runtime0.1240 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 588.0469180.8359
Module start 'content' 0.00580.0054 768.8828102.5547
Module end 'content' 0.01110.1127 871.4375531.0391
Script end 0.1239  1,402.4766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00332.6388200.0002
Check MTime0.00131.0322200.0001
Mysql Total
Database connection0.00080.609110.0008
Mysqli_queries0.080064.56891410.0006
Looping result0.00161.30141390.0000
Template Total0.112490.710.1124
Template load0.00060.478310.0006
Template processing0.111890.207410.1118
Override
Cache load0.00040.334810.0004
Sytem overhead
Fetch class attribute can translate value0.00050.411410.0005
XML
Image XML parsing0.00020.145210.0002
General
dbfile0.00504.0067200.0002
String conversion0.00000.001730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs