Handle SVG images in `Image::getHtml()` (see #7343)