[D7] Allow image fields to use any extensions the current image toolkit supports (instead of hard-coding jpg, png and gif only)

Created on 24 July 2015, about 9 years ago
Updated 11 April 2024, 6 months ago

I found that it's possible to upload SVG images to Drupal 7 (7.38) and they can even be rendered as the original image, but any image styles don't work (obviously since gd doesn't support SVG). Of course there is the imagemagick module that one could try to use and possibly patch, but it didn't seem to work out of box either. I thought that it would be great to add basic SVG support to Drupal core since many browsers support them and they are great for todays world with different screen sizes etc. By basic support I mean that the SVG images would work with styles, not applying the ones that can't be done without gd or similar image manipulation tool, but simply bypassing the styles and applying for example width and height to the img tag directly when theming the images.

Feature request
Status

Needs review

Version

7.0 ⚰️

Component
Image system 

Last updated 2 days ago

Created by

🇫🇮Finland aleksijohansson

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

Merge Requests

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