Ability to work with svg images

Created on 12 June 2023, over 1 year ago
Updated 20 December 2023, 11 months ago

Problem/Motivation

Would be nice if there were some integration with https://www.drupal.org/project/svg_image β†’

Steps to reproduce

Proposed resolution

Add formatter extension to render svgs as svg tags vs responsive derivatives

Remaining tasks

Decide if a good idea
Implement
Reivew

User interface changes

TBD

API changes

TBD

Data model changes

TBD

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States smustgrave

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

Comments & Activities

  • Issue created by @smustgrave
  • πŸ‡³πŸ‡±Netherlands seanB Netherlands

    How would this ideally work? Should we just render an SVG instead of an image tag and allow the JS to set a width and height?
    I am not sure if we actually need a module for that.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    I think that’s all the svg image module does. It ties into the image formatter and if it hits a svg it renders it

  • πŸ‡ΊπŸ‡ΈUnited States w01f

    Seconding as this is the only factor keeping us from testing implementation of Easy Responsive Images.

  • First commit to issue fork.
Production build 0.71.5 2024