-
Notifications
You must be signed in to change notification settings - Fork 24
Description
I add a CMS block to a CMS page, with the following content:
<figure class="hero-logo container" data-content-type="image" data-appearance="full-width" data-animation="none" data-element="main" data-pb-style="LVD2RON"><img class="pagebuilder-mobile-hidden" src="{{media url=wysiwyg/cms/logo-white.svg}}" alt="" title="" loading="lazy" data-use-native-image-dimensions="true" width="" height="" data-element="desktop_image" data-pb-style="JU5NBDL"><img class="pagebuilder-mobile-only" src="{{media url=wysiwyg/cms/logo-white.svg}}" alt="" title="" loading="lazy" data-use-native-image-dimensions="true" width="" height="" data-element="mobile_image" data-pb-style="V00AULV"></figure>
I see the following error in mass in my logs:
[2025-04-03T07:55:45.114569+00:00] report.ERROR: Unsupported image format. File: /app/pub/media/wysiwyg/cms/logo-white.svg {"exception":"[object] (InvalidArgumentException(code: 0): Unsupported image format. File: /app/pub/media/wysiwyg/cms/logo-white.svg at /app/vendor/magestyapps/module-web-images/Model/Image/Adapter/Gd2.php:302)"} []
I'm not sure why it tries to modify the image in the SVG case. The image seems to render fin on FO and BO so I'm not sure why I have such logs.