Problems with image alias and Filter

Author Message

Guillaume Kempfer

Monday 02 June 2008 6:32:55 am

Hi everybody,

I added a new filter alias

[ImageMagick]
Filters[]=canvas=-compose src-over -composite -gravity center ../flashgallery/design/standard/images/bg_flashgallery.png

and a new image alias :

[AliasSettings]
AliasList[]=flashgallery

[flashgallery]
MIMEType=image/png
Filters[]
Filters[]=geometry/scaledownonly=430;323
Filters[]=canvas

And it works, but at each image display, imagemagick regenerate the image alias, it don't check if there's already an alias or not.

Is there a settings to set the cache for a new filter or somthing like that ?

I'm on ezp v4

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 11:00:14
Script start
Timing: Jan 18 2025 11:00:14
Module start 'layout'
Timing: Jan 18 2025 11:00:14
Module start 'content'
Timing: Jan 18 2025 11:00:15
Module end 'content'
Timing: Jan 18 2025 11:00:15
Script end

Main resources:

Total runtime0.7783 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 589.0547152.6250
Module start 'layout' 0.00580.0027 741.679739.4453
Module start 'content' 0.00850.7683 781.1250403.0156
Module end 'content' 0.77680.0015 1,184.14068.1563
Script end 0.7783  1,192.2969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4248160.0002
Check MTime0.00130.1689160.0001
Mysql Total
Database connection0.00130.161410.0013
Mysqli_queries0.738094.8206460.0160
Looping result0.00050.0704440.0000
Template Total0.745595.820.3727
Template load0.00210.263620.0010
Template processing0.743495.515920.3717
Template load and register function0.00040.051810.0004
states
state_id_array0.00080.099410.0008
state_identifier_array0.00110.138020.0005
Override
Cache load0.00160.2099180.0001
Sytem overhead
Fetch class attribute can translate value0.00080.104110.0008
Fetch class attribute name0.00130.169610.0013
XML
Image XML parsing0.00020.019510.0002
class_abstraction
Instantiating content class attribute0.00000.001510.0000
General
dbfile0.00090.1163100.0001
String conversion0.00000.001040.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs