When using https://www.drupal.org/project/svg_image
gaëlg created an issue. See original summary.
It happens because the default image path must have no slash before, or \Drupal\svg_image\Plugin\Field\FieldFormatter\SvgImageFormatterTrait::renderAsSvg cannot read the SVG file content. I updated the config field help text.
Now that this issue is closed, review the contribution record.
As a contributor, attribute any organization that helped you, or if you volunteered your own time.
Maintainers, credit people who helped resolve this issue.
No slash at the begining of the default image URL, for <svg>...
Automatically closed - issue fixed for 2 weeks with no activity.
Comments
Comment #2
gaëlgIt happens because the default image path must have no slash before, or \Drupal\svg_image\Plugin\Field\FieldFormatter\SvgImageFormatterTrait::renderAsSvg cannot read the SVG file content. I updated the config field help text.