Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
image.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Jul 2015 at 17:44 UTC
Updated:
13 Aug 2015 at 14:42 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #1
suite117 commentedComment #2
cilefen commentedThat is not critical.
Comment #3
cilefen commentedImageWidget supports these types only:
$supported_extensions = array('png', 'gif', 'jpg', 'jpeg');Comment #4
cilefen commentedComment #5
Anonymous (not verified) commentedComment #6
Anonymous (not verified) commentedHere is quick patch.
Comment #7
dmdewey commentedI would've just used the file widget for an SVG. They are more closely related to PDF and EPS than they are to JPG, PNG or GIF.
Comment #8
dave reidBy GD (our default image toolkit) does not support SVG. So you cannot generate image styles of them. I think we should close this in favor of #1014816: Allow image fields to use any extensions the current image toolkit supports (instead of hard-coding jpg, png and gif only).