Problems with ImageMagick

Author Message

Tarjei Gilbrant

Thursday 06 May 2004 6:21:42 am

Pictures work if I disable ImageMagick. If I enable the convertion, it doesn't work. I can't see any of the "dynamic" pictures at the site.

This is the output from the debugger:

Warning: eZImageShellHandler::convert mai 06 2004 15:50:10
Failed executing: c:\program files\imagemagick-6.0.0-q16/convert.exe "-quality" "75" "-geometry" "600x600>" "var/tscm/storage/images/welcome_to_the_tscm_website/105-8-eng-GB/welcome_to_the_tscm_website.jpg" "JPEG:var/tscm/storage/images/welcome_to_the_tscm_website/105-8-eng-GB/welcome_to_the_tscm_website_reference.jpg", Error: , Return: 1

Error: eZImageManager::createImageAlias mai 06 2004 15:50:10
Failed converting var/tscm/storage/images/welcome_to_the_tscm_website/105-8-eng-GB/welcome_to_the_tscm_website.jpg to alias original in directory var/tscm/storage/images/welcome_to_the_tscm_website/105-8-eng-GB

Björn Dieding@xrow.de

Thursday 06 May 2004 11:02:52 pm

You have a missconfiguration in the image.ini check your settings

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Tarjei Gilbrant

Thursday 06 May 2004 11:20:47 pm

My settings\override\image.ini.append.php looks like this:

<?php /* #?ini charset="iso-8859-1"?

[ImageMagick]
IsEnabled=true
ExecutablePath=c:\program files\imagemagick-6.0.0-q16
Executable=convert.exe
*/ ?>

I changed the path to old windows-style, and now it works!

<?php /* #?ini charset="iso-8859-1"?

[ImageMagick]
IsEnabled=true
ExecutablePath=c:\progra~1\imagemagick-6.0.0-q16
Executable=convert.exe
*/ ?>

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

eZ debug

Timing: Jan 31 2025 06:21:02
Script start
Timing: Jan 31 2025 06:21:02
Module start 'layout'
Timing: Jan 31 2025 06:21:02
Module start 'content'
Timing: Jan 31 2025 06:21:02
Module end 'content'
Timing: Jan 31 2025 06:21:02
Script end

Main resources:

Total runtime0.0158 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 588.1328151.2109
Module start 'layout' 0.00540.0037 739.343836.6484
Module start 'content' 0.00910.0051 775.992290.2656
Module end 'content' 0.01420.0015 866.257833.9922
Script end 0.0157  900.2500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002314.4346140.0002
Check MTime0.00116.9072140.0001
Mysql Total
Database connection0.00074.573610.0007
Mysqli_queries0.004427.784830.0015
Looping result0.00000.095310.0000
Template Total0.00127.410.0012
Template load0.00084.998610.0008
Template processing0.00042.341210.0004
Override
Cache load0.00053.330410.0005
General
dbfile0.001811.424980.0002
String conversion0.00000.031840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

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

Time used to render debug report: 0.0001 secs