One of the limitations of Drupal's native logo support is that it doesn't allow for SVG files to be used out of the box. Would this module work in conjunction with the svg_image module to allow users to upload and use SVG versions of their logos, applying the correct height x width settings?

Comments

w01f created an issue.

nelo_drup’s picture

@w01f Hi, I'll review the SVG module to add support, and if that's not possible, we'll add it directly. We currently support WebP and Avif. SVG support would be a nice feature.

nelo_drup’s picture

New version adds support for SVG and AVIF.

w01f’s picture

Excellent - follow-up inquiry: one of the nice things about the SVG Image module is that it allows you to set the rendering dimensions - so for a logo, e.g., something like 250px wide by 75px high. How does the SVG implementation here work - does it just render whatever the native SVG size is? My concern there would be that quite a few SVGs have a very large native resolution set, with the expectation that the environment will control the final sizing.