Forums / Developer / strange behaviour of image system (3.2-3)
Adolfo Barragán
Sunday 09 November 2003 11:52:03 pm
I have upgrading (from scratch) my site to Exponential 3.2-3 and I observe a strange behaviour of image system:
I'm using GD Lib and in settings/<siteaccess>/site.ini.append I have these settings:
[ImageSettings] ... SmallSizeWidth=150 SmallSizeHeight=150 MediumSizeWidth=200 MediumSizeHeight=200 LargeSizeWidth=450 LargeSizeHeight=450 ReferenceSizeWidth=450 ReferenceSizeHeight=450 ScaleLargerThanOriginal=false...
1. When I ask a variation size larger than original, I always get the size of variation, not original, so "ScaleLargerThanOriginal" don't work (for me).
2. My small variations are always 100x100. It's hardcoded?
What have I wrong? How can I correct it?
Thanks in advanceAdolfo Barragán
Valentin Svelland
Monday 10 November 2003 3:07:48 am
Hi Adolfo.I had the same prob. Look in your /settings/image.ini. At the bottom of the code you'll see that example for customized small-tag isn't commented out..
# Define customized image size [ImageSizes] Height[small]=100 Width[small]=100 #Height[thumb]=50 #Width[thumb]=50 #Height[tiny]=30#Width[tiny]=30
change this to:
# Define customized image size [ImageSizes] #Height[small]=100 #Width[small]=100#Height[thumb]=50