Created on 3 July 2025, about 1 month ago

Problem/Motivation

I wonder if there is already some kind of SVG support like what the svg_image module does?

(To avoid to have image and image (SVG) media types and only one media type)

💬 Support request
Status

Active

Version

2.0

Component

Miscellaneous

Created by

🇫🇷France Grimreaper France 🇫🇷

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Grimreaper
  • 🇩🇪Germany D34dMan Hamburg

    @grimreaper,

    I like the convenience of an editor to upload any media from a single field. i.e. "image", "animated gif", "svg", "external image" etc.

    I finding it difficult to conceptualize how we can implement a support in RIFT. Could you point me to an example implementation where svg and responsive image (core or any other solution) works well together (using svg_image) ?

  • 🇫🇷France Grimreaper France 🇫🇷

    Currently in https://git.drupalcode.org/project/svg_image/-/blob/3.x/modules/svg_imag...

    For an SVG, it is just rendered as SVG markup. If wanting an img, if render an image (and not a responsive image) using the fallback image style.

    If this is the kind of examples you wanted. Not the best.

    Maybe it is just an unsolvable feature.

Production build 0.71.5 2024