gd2 shots out of range, and why?

Author Message

yang xing

Tuesday 16 November 2010 7:42:26 pm

Image.ini in the configuration file is written like this:
[GD]
Name = GD
IsEnabled = true
# Which PHP handler to use for the conversion,
# Ezimagegd means to use the ImageGD extension in PHP
Handler = eZImageGDFactory
[AliasSettings]
AliasList [] = gallery_list_148_148
[Gallery_list_148_148]
Filters []
Filters [] = geometry / scaleheight = 148
Filters [] = geometry / extent = 148; 148

Call in the template reads
{Attribute_view_gui attribute = $ list_content [$ i]. Data_map.image image_class = 'gallery_list_148_148'}
Do not know why the interception of the width of the image will be more than 148

Seeking expert guidance it!

yang xing

Tuesday 16 November 2010 9:25:07 pm

Into imagemagick just fine

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 10:31:08
Script start
Timing: Jan 18 2025 10:31:08
Module start 'layout'
Timing: Jan 18 2025 10:31:08
Module start 'content'
Timing: Jan 18 2025 10:31:09
Module end 'content'
Timing: Jan 18 2025 10:31:09
Script end

Main resources:

Total runtime0.6284 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.0057 587.9063152.6250
Module start 'layout' 0.00570.0028 740.531339.4531
Module start 'content' 0.00850.6184 779.9844424.9375
Module end 'content' 0.62690.0015 1,204.92198.3125
Script end 0.6284  1,213.2344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.5233160.0002
Check MTime0.00130.2092160.0001
Mysql Total
Database connection0.00090.142710.0009
Mysqli_queries0.587493.4701520.0113
Looping result0.00060.1002500.0000
Template Total0.598895.320.2994
Template load0.00210.334320.0011
Template processing0.596794.947120.2983
Template load and register function0.00020.030610.0002
states
state_id_array0.00090.139710.0009
state_identifier_array0.00120.187520.0006
Override
Cache load0.00170.2746220.0001
Sytem overhead
Fetch class attribute can translate value0.00070.104610.0007
Fetch class attribute name0.00100.152220.0005
XML
Image XML parsing0.00020.039610.0002
class_abstraction
Instantiating content class attribute0.00000.000920.0000
General
dbfile0.00060.1002100.0001
String conversion0.00000.001140.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
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs