diff --git a/core-bundle/contao/library/Contao/Image.php b/core-bundle/contao/library/Contao/Image.php
index <HASH>..<HASH> 100644
--- a/core-bundle/contao/library/Contao/Image.php
+++ b/core-bundle/contao/library/Contao/Image.php
@@ -354,10 +354,13 @@ class Image
 				break;
 		}
 
-		// Resizing will most likely fail if there is no viewBox attribute
+		// Set the viewBox attribute from the original dimensions
 		if (!$svgElement->hasAttribute('viewBox'))
 		{
-			\System::log('Image "' . $image . '" does not have a "viewBox" attribute', __METHOD__, TL_ERROR);
+			$origWidth = $svgElement->getAttribute('width');
+			$origHeight = $svgElement->getAttribute('height');
+
+			$svgElement->setAttribute('viewBox', '0 0 ' . intval($origWidth) . ' ' . intval($origHeight));
 		}
 
 		$svgElement->setAttribute('width', $width . 'px');
[Core] Add the "viewBox" attribute if not present (see #<I>)