Closed (fixed)
Project:
SVG Image Field
Version:
2.2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jan 2021 at 16:19 UTC
Updated:
19 Jan 2023 at 19:46 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ghost of drupal pastNote this applies to the 2.0.x branch as well.
Comment #3
mandclu commentedI'm not sure I follow the logic proposed here. With this patch, won't inline SVG images still not work with stage file proxy?
Instead of moving the file_exists check, would it make more sense to also check if stage file proxy is installed, and only trigger the error condition if not?
Comment #4
lamp5Comment #6
mandclu commentedThanks for the new patch. Included this in the new 2.2.x branch and will roll a new release shortly.
Comment #8
jwilson3Just a note here to alert folks that we're working on improving the stage_file_proxy integration for inline SVGs in a follow-up issue.
Of particular note are two commits that improve upon the feature introduced by this issue.
https://git.drupalcode.org/project/svg_image_field/-/merge_requests/7/di...
https://git.drupalcode.org/project/svg_image_field/-/merge_requests/7/di...
Explanation of the changes can be found on comment #12 #3333776-12: Add inline SVG support for stage_file_proxy.
Thanks.