Issues
AssetRendition is used for SVG images
Description
Details
Details
Assignee
Unassigned
UnassignedReporter

Components
Affects versions
Priority
Created October 29, 2019 at 6:40 AM
Updated October 29, 2019 at 11:02 AM
Activity
Show:
Stefan SeifertOctober 29, 2019 at 11:02 AM
this message is not directly related to SVG images - please make sure a system user is configured properly for the bundle io.wcm.handler.media (on the author instance) as described here:
https://wcm.io/handler/media/configuration.html
the warning should go away then.
please note that the media handler does not support cropping for SVG images (same as adobe core components).
https://github.com/wcm-io/wcm-io-handler/blob/master/media/src/main/java/io/wcm/handler/mediasource/dam/AssetRendition.java
AssetRendition is used for SVG image where renditions are redundant.
It is valuable to have SVG image in picture tag with all features like crop/alt/usemap etc. but this produce a lot warning about:
io.wcm.handler.mediasource.dam.AssetRendition Unable to detect rendition metadata for /content/dam/example-image.svg/jcr:content/renditions/cq5dam.thumbnail.48.48.png, fallback to inefficient detection by loading image into in memory. Please check if the service user for the bundle 'io.wcm.handler.media' is configured properly.
What do you think about adding some validation before?