2 namespace TYPO3\CMS\Extensionmanager\ViewHelpers;
56 parent::initializeArguments();
70 public function render($src, $width = null, $height = null, $fallbackImage =
'')
75 if (empty($uri) && $fallbackImage !==
'') {
81 $this->tag->addAttribute(
'width', (
int)$width);
84 $this->tag->addAttribute(
'height', (
int)$height);
86 $this->tag->addAttribute(
'src', $uri);
87 $content = $this->tag->render();
102 if ($uri !==
'' && !file_exists($uri)) {