Correct thumbnail constraints. S9Y now supports width, height, largest,
and smallest constraints. Backwards compatibility is maintained with the imageselectorplus plugin (the only plugin to use the thumbnail or aspect calculation code). Language files are updated and a new option screen is displayed after choosing "Rebuild Thumbs".
This commit is contained in:
@ -522,6 +522,16 @@
|
||||
'permission' => 'siteConfiguration',
|
||||
'default' => 110),
|
||||
|
||||
array('var' => 'thumbConstraint',
|
||||
'title' => INSTALL_THUMBDIM,
|
||||
'description' => INSTALL_THUMBDIM_DESC,
|
||||
'type' => 'list',
|
||||
'permission' => 'siteConfiguration',
|
||||
'default' => array(
|
||||
'largest' => INSTALL_THUMBDIM_LARGEST,
|
||||
'width' => INSTALL_THUMBDIM_WIDTH,
|
||||
'height' => INSTALL_THUMBDIM_HEIGHT)),
|
||||
|
||||
array('var' => 'maxFileSize',
|
||||
'title' => MEDIA_UPLOAD_SIZE,
|
||||
'description' => MEDIA_UPLOAD_SIZE_DESC,
|
||||
|
Reference in New Issue
Block a user