Index: public/typo3/sysext/fluid/Classes/ViewHelpers/ImageViewHelper.php IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== diff --git a/public/typo3/sysext/fluid/Classes/ViewHelpers/ImageViewHelper.php b/public/typo3/sysext/fluid/Classes/ViewHelpers/ImageViewHelper.php --- a/public/typo3/sysext/fluid/Classes/ViewHelpers/ImageViewHelper.php +++ b/public/typo3/sysext/fluid/Classes/ViewHelpers/ImageViewHelper.php (date 1704796031638) @@ -193,9 +193,7 @@ $this->tag->addAttribute('height', $processedImage->getProperty('height')); // The alt-attribute is mandatory to have valid html-code, therefore add it even if it is empty - if (empty($this->arguments['alt'])) { - $this->tag->addAttribute('alt', $image->hasProperty('alternative') ? $image->getProperty('alternative') : ''); - } + $this->tag->addAttribute('alt', $image->hasProperty('alternative') ? $image->getProperty('alternative') : ''); // Add title-attribute from property if not already set and the property is not an empty string $title = (string)($image->hasProperty('title') ? $image->getProperty('title') : ''); if (empty($this->arguments['title']) && $title !== '') {