Block Image Zoom won't display Thumbnail correct size
PermalinkJerry
p.s. I manually cropped and re-sized the image to 800x100 and am using the display image block instead.
Usually a thumbnail looks better if you keep the width/height ratio.
Why do you want to resize a picture to such an unusual size?
this behavior is by the way the reason why it's called "max width" and "max height" and not just "width" and "height"...
Guess the module needs one more parameter to let the user pick if the aspect ratio is maintained or not.
Most pictures looks silly if you don't keep the ratio.
I just want to know why the block should have such an option...
http://www.concrete5.org/marketplace/addons/zoom_image/feature_requ...
I might take care of it someday, but no in the near future I think...
Fatal error: Uncaught exception 'ADODB_Exception' with message 'mysql error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'thumbnailHeight= WHERE bID=575' at line 1] in EXECUTE("UPDATE btZoomImage SET fID=185,altText='',thumbnailWidth=,thumbnailHeight= WHERE bID=575") ' in /usr/local/share/concrete5/concrete5.3.1.1/concrete/libraries/3rdparty/adodb/adodb-exceptions.inc.php:78 Stack trace: #0 /usr/local/share/concrete5/concrete5.3.1.1/concrete/libraries/3rdparty/adodb/adodb.inc.php(1042): adodb_throw('mysql', 'EXECUTE', 1064, 'You have an err...', 'UPDATE btZoomIm...', false, Object(ADODB_mysql)) #1 /usr/local/share/concrete5/concrete5.3.1.1/concrete/libraries/3rdparty/adodb/adodb.inc.php(1017): ADOConnection->_Execute('UPDATE btZoomIm...', false) #2 /usr/local/share/concrete5/concrete5.3.1.1/concrete/libraries/3rdparty/adodb/adodb-lib.inc.php(174): ADOConnection->Execute('UPDATE btZoomIm...') #3 /usr/local/share/concrete5/concr in /usr/local/share/concrete5/concrete5.3.1.1/concrete/libraries/3rdparty/adodb/adodb-exceptions.inc.php on line 78
The c5 thumbnail function makes sure the ratio of width and height stays the same, which is what works in probably 98% of all situations.
It just doesn't support cropping out of the box..