User tests: Successful: Unsuccessful:
This adds SVG to image extensions list used in \Joomla\CMS\Helper\MediaHelper::isImage. Without this you can select SVG as your banner image but it will not show up in mod_banners
Treat SVG files as images.
mod_banners module to your website and make it display your bannersPlease select:
Documentation link for guide.joomla.org:
No documentation changes for guide.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
| Status | New | ⇒ | Pending |
| Category | ⇒ | Libraries |
| Title |
|
||||||
Need to check the reason why my SVG wasn't detected as SVG. As I can see in 5.4-dev branch the mod_banners should checks for image type in two methods. The one I changed and checking mime type.
| Status | Pending | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2026-06-15 15:30:11 |
| Closed_By | ⇒ | artur-stepien | |
| Labels |
Added:
PR-5.4-dev
|
||
This was by purpose. https://docs.joomla.org/J4.x:Media:_Uploading_SVG_files