Force maximum width and height for PHPThumb images
- by Peter
PHPThumb provides two great variables setting the output maximum width and height BUT "This is always overridden by ?w=_ GETstring parameter"
$PHPTHUMB_CONFIG['output_maxwidth'] = 720;
$PHPTHUMB_CONFIG['output_maxheight'] = 720;
You can also set defaults, and for landscape/portrait:
$PHPTHUMB_DEFAULTS['w'] = 720;
$PHPTHUMB_DEFAULTS['h'] =…