aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/JSalmon.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-11-21 19:47:59 -0800
committerzotlabs <mike@macgirvin.com>2017-11-21 19:47:59 -0800
commitb4f8f4df7bc5cc8a74240506cd536224cb31e114 (patch)
treea88c45c92843703049a91cf7b4ab4e374b52de97 /Zotlabs/Lib/JSalmon.php
parent98e2b2a60b8be14627b31212b6ad148c5d3bd4b5 (diff)
downloadvolse-hubzilla-b4f8f4df7bc5cc8a74240506cd536224cb31e114.tar.gz
volse-hubzilla-b4f8f4df7bc5cc8a74240506cd536224cb31e114.tar.bz2
volse-hubzilla-b4f8f4df7bc5cc8a74240506cd536224cb31e114.zip
allow toggle to 'SMBC' scaling mode. 'SMBC' mode is named thusly for Saturday Morning Breakfast Cereal cartoons which are very tall. If you scale the image to constrain both dimensions, the cartoon text is illegible. So we allow the height to float and only constrain the width. The new flag allows you to overide this mode and force both dimensions to always be evaluated and constrained to the provided limit.
Diffstat (limited to 'Zotlabs/Lib/JSalmon.php')
0 files changed, 0 insertions, 0 deletions