ezpublish 4 + imageMagick

Author Message

sergio da silva

Friday 08 August 2008 4:09:48 am

Hi,

newbie on ezpublish, i would like to do a rotate on an image using imageMagick.
I tried to put in the file "\settings\siteaccess\fre\image.ini.append.php":

[ImageMagick]
Filters[]=image_magick_rotate=-rotate 30

[articlethumbnail]
Reference=
Filters[]
Filters[]=image_magick_rotate

I also tried:

[articlethumbnail]
Reference=
Filters[]
Filters[]=rotate 30

but nothing.

Someone can help me?

thanks

sergio da silva

Thursday 14 August 2008 8:57:13 am

In fact, this code is working well:

[ImageMagick]
Filters[]=rotate=-rotate 15

[AliasSettings]
AliasList[]
AliasList[]=small

[small]
Reference=
Filters[]
Filters[]=rotate
Filters[]=geometry/scaledownonly=100;160

Iprobably forgot to clear the cache

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 18 2025 20:56:25
Script start
Timing: Jan 18 2025 20:56:25
Module start 'layout'
Timing: Jan 18 2025 20:56:25
Module start 'content'
Timing: Jan 18 2025 20:56:26
Module end 'content'
Timing: Jan 18 2025 20:56:26
Script end

Main resources:

Total runtime0.8275 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0073 587.8906152.6094
Module start 'layout' 0.00730.0040 740.500039.4141
Module start 'content' 0.01140.8146 779.9141431.7031
Module end 'content' 0.82590.0015 1,211.61728.1797
Script end 0.8274  1,219.7969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4068160.0002
Check MTime0.00130.1586160.0001
Mysql Total
Database connection0.00120.139810.0012
Mysqli_queries0.766092.5702520.0147
Looping result0.00070.0804500.0000
Template Total0.780594.320.3902
Template load0.00260.313120.0013
Template processing0.777994.006120.3889
Template load and register function0.00020.027710.0002
states
state_id_array0.00230.277210.0023
state_identifier_array0.00170.207920.0009
Override
Cache load0.00210.2589330.0001
Sytem overhead
Fetch class attribute can translate value0.00090.114210.0009
Fetch class attribute name0.00140.173320.0007
XML
Image XML parsing0.00020.029410.0002
class_abstraction
Instantiating content class attribute0.00000.000820.0000
General
dbfile0.00750.9077100.0008
String conversion0.00000.001240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
7content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 20
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs