Problem/Motivation

In a past issue (https://www.drupal.org/node/2910342), support was added to be able to display SVG files in an image tag. This only works however if the "original image" is used, but not with something like the default "Thumbnail (100x100)". This is a problem for things like the media overview page which uses this thumbnail image style by default.

Proposed resolution

We should try to add support for styles that resize images in any way. This would mean overriding any scale, resize or crop and changing the SVG canvas size to those parameters. This could create some slightly unexpected results to those unfamiliar with SVG, but I think it would address the most common issues.

Comments

tandroid created an issue.