1
0

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:
Judebert
2008-04-09 01:57:10 +00:00
parent 12626f0f63
commit a27b9f91ed
64 changed files with 974 additions and 116 deletions

View File

@ -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,