Closed (fixed)
Project:
Svg Image
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 May 2018 at 11:57 UTC
Updated:
10 Aug 2018 at 04:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dasginganinjaAfter looking at this for a bit and thinking about how to approach a patch, it seem that it would it make more sense to define a separate field formatter for this module instead of hijacking core's version.
I think the other modifications of the core image field are fine, but this could be implemented in a different manner that doesn't alter existing configurations.
Comment #3
dasginganinjaI have created a patch which copies core's image field formatter information and alters it as it was being used in this module.
After this change, a new image formatter is available titled Image (SVG Support).
The core Image display formatter will still not support SVG with this patch, but that is to be expected. There is already a core issue where bringing SVG support to D7 is being discussed. This module should focus on providing a display instead of altering core's.
This is a "breaking" change for those who expect the core image formatter to support SVG, but since the module is still is in development and doesn't have a 7.x release that shouldn't be a big issue.
Comment #4
dasginganinjaComment #5
imyaro commentedAgree with you, commited. Thanks for your contribution.
Comment #7
imyaro commentedAvailable in release 7.x-1.1