diff --git a/code/Helper/ImageThumbnailHelper.php b/code/Helper/ImageThumbnailHelper.php index eda8f0018..c1b4de3d6 100644 --- a/code/Helper/ImageThumbnailHelper.php +++ b/code/Helper/ImageThumbnailHelper.php @@ -17,7 +17,8 @@ class ImageThumbnailHelper private $maxImageFileSize; /** - * @param mixed $maxImageSize Maximum file size for which thumbnails will be generated + * @param mixed $maxImageSize Maximum file size for which thumbnails will be generated. Set to `0` to disable the + * limit. */ public function __construct($maxImageFileSize = '9M') { @@ -25,6 +26,7 @@ public function __construct($maxImageFileSize = '9M') } /** + * Get the maximum file size for which thumbnails will be generated. Set to `0` to disable the limit. * @return int */ public function getMaxImageFileSize() @@ -33,6 +35,7 @@ public function getMaxImageFileSize() } /** + * Set the maximum file size for which thumbnails will be generated. Set to `0` to disable the limit. * @param mixed $size * @return $this */