'', 'afterThumbnail' => '', 'beforeDelete' => '', 'afterDelete' => '', 'beforeElement' => '', 'afterElement' => '', ]; public function render($content) { /** @var Qs_Form_Element_ExtendedImage $element */ $element = $this->getElement(); $view = $element->getView(); $content = Zend_Form_Decorator_File::render($content); $topHtml = ''; $resize = $element->getResize(); $resizeHtml = ''; if (!empty($resize)) { if (empty($resize['width'])) { $sizeNote = 'height is ' . $resize['height']; } elseif (empty($resize['height'])) { $sizeNote = 'width is ' . $resize['width']; } else { $sizeNote = 'Size is ' . $resize['width'] . 'x' . $resize['height']; } $resizeName = $element->getName() . '[resize]'; $resizeHtml = $view->formCheckbox($resizeName, Qs_Request::getRequestValue($resizeName, 'y'), null, ['checkedValue' => 'y', 'uncheckedValue' => 'n']) . ' '; $resizeHtml .= $view->formLabel($resizeName, 'Please resize the image automatically'); $resizeHtml = '