SVG image not being accepted in the Media Library Image type (again)

Created on 15 July 2025, about 1 month ago

Problem/Motivation

This exact issue has returned in the current relase: https://www.drupal.org/project/svg_image/issues/3187356 🐛 SVG image not being accepted in the Media Library Image type Needs work

Steps to reproduce

  1. Go to: /admin/structure/media/manage/image/fields/media.image.field_image
  2. Add the 'svg' extension to the allowed file list
  3. Go to: /media/add/image
  4. => Allowed files: "png gif jpg jpeg webp"
  5. Same when trying to edit an existing media image.

But it works well for entity reference fields when adding a new media image in the ui-dialog:

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.2

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024