- 🇳🇿New Zealand john pitcairn
Note if you use a dedicated media type for SVGs (ie"logo" in my case), you can set the image formatter to output "original image" for all view modes, and that will display just fine in the media library and widget.
- 🇭🇺Hungary szato
@Lukas von Blarer
you are right.
Using the patch from #3 solved the issue on Drupal core 10.2.7
- 🇮🇳India prashant.c Dharamshala
This is a major issue while using SVG images, I faced this while working with SVG images in one of the projects which is using Drupal 10.3.2, but this exists in later versions also. SVG images do not at all appear on the following:
- Media library
- Media field
- Media entity listing page
- Media render (this in on node page)
- 🇮🇳India prashant.c Dharamshala
The path submitted in #3 ✨ Media Library widget does not render svg images Needs work resolves the issue only for the Point 1 (Media library) mentioned in #25 ✨ Media Library widget does not render svg images Needs work