Forums / Setup & design / Resize images, increase size and not constrain proportions

"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".

Resize images, increase size and not constrain proportions

Author Message

Tore Skobba

Friday 31 October 2003 8:09:47 am

Hi all

I am trying to resize images so that they fit in an table cell in my current design. The cell has width=230, height=110, in order to do this I have added the following to "image.ini.append.php":

# Define customized image size
[ImageSizes]
Height[ingress]=110
Width[ingress]=230

However, this does not work very well.. Images tend to only be enlarged to the nearest size, i.e an image measuring 90*90 is not adjusted at all. While an image of 300*300 is shrinked, but not to 110*230, but 110*110. How do you if possible turn of the constraning of proportions and allow images to be enlarged?

Cheers
Tore