Have responsive image module ignore svg

Created on 2 April 2018, about 7 years ago
Updated 13 April 2025, 13 days ago

When adding svg images to an image field, if responsive images are used, it would be nice if the module would detect svg and ignore it or use the fallback image style (image styles seem to ignore svg). Currently, if you add an svg to an image field, then have display settings set to a responsive image style, the svg image breaks.

Feature request
Status

Needs work

Version

11.0 🔥

Component

responsive_image.module

Created by

🇨🇦Canada crow

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024