AssetRendition is used for SVG images

Description

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?

Activity

Show:
Stefan Seifert
October 29, 2019, 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).

Assignee

Unassigned

Reporter

Krzysztof Gorzynski

Labels

None

Components

Affects versions

Priority

Trivial
Configure