Welcome Guest, Not a member yet? Register   Sign In
Image Manipulation Ratio not working
#11

[eluser]Sanity11[/eluser]
That's great! I allready reported this as a bug. I will check this out as soon as I have time.
#12

[eluser]stef25[/eluser]
Quote:If you want all your resized images to have a maximum width of 500px, just make sure your height setting is much greater than you are likely to need.

i confirm this is the case. maintain_ratio doesnt work without a height being set! strange ...
#13

[eluser]thesf[/eluser]
Thanks Ben! I was having a bad time trying to figure out a way around this problem until I read your post.
#14

[eluser]Unknown[/eluser]
You will not beleive me, y had the same problem and y changed the order of configuration parameters with the maintain_ratio = true, and it worked :S
I needed to adjust to height:

Didn't work:
$config['width'] = 126;
$config['height'] = 84;
$config['maintain_ratio'] = TRUE;

Worked!
$config['height'] = 84;
$config['width'] = 126;
$config['maintain_ratio'] = TRUE;

Some years later, but it may help someone...




Theme © iAndrew 2016 - Forum software by © MyBB