Forums / General / gd2 shots out of range, and why?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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