diff --git a/layouts/joomla/form/field/media.php b/layouts/joomla/form/field/media.php index d6e8568e1e7f6..a80222044cecf 100644 --- a/layouts/joomla/form/field/media.php +++ b/layouts/joomla/form/field/media.php @@ -91,15 +91,14 @@ $style .= ($height > 0) ? 'max-height:' . $height . 'px;' : ''; $imgattr = [ - 'id' => $id . '_preview', 'class' => 'media-preview', 'style' => $style, ]; $img = HTMLHelper::_('image', $src, Text::_('JLIB_FORM_MEDIA_PREVIEW_ALT'), $imgattr); - $previewImg = '
' . $img . '
'; - $previewImgEmpty = '