MCImageManager:Configuration/thumbnail.scale mode
From Moxiecode Documentation Wiki
Contents |
[edit]
Option: thumbnail.scale_mode
The type of scaling to be used for thumbnails in the thumbnail view. There are currently two options, resize and percentage. Resize will set the width and height of all thumbnails to the values set by thumbnail.height and thumbnail.width. Percentage will scale down the thumbnails to fit into the size set by thumbnail.height and thumbnail.height but force the scale ratio to be the same.
[edit]
These are the valid values of this option
- percentage
- resize
[edit]
Example of usage in the config.php file
$mcImageManagerConfig['thumbnail.scale_mode'] = "percentage";
[edit]
Example of usage in the Web.Config file
<add key="thumbnail.scale_mode" value="percentage" />
[edit]
Example of usage in a mc_access file
thumbnail.scale_mode=percentage
