- return;
- }
- $size = $this->trimmed('size');
- if (!$size) {
- $this->clientError(_('No size.'));
- return;
- }
- $size = strtolower($size);
- if (!in_array($size, array('original', '96', '48', '24'))) {
- $this->clientError(_('Invalid size.'));
- return;