Allow SVG Upload enables uploading SVG (Scalable Vector Graphics) files to the media library. SVGs are perfect for logos, icons, and illustrations that scale without quality loss.
What this feature does
By default, WordPress blocks SVG uploads for security reasons (SVGs can contain malicious scripts). This setting safely enables SVG uploads by registering SVG as a permitted MIME type and applying security validation to strip any embedded scripts.
When enabled, users can upload .svg files to the media library and use them like any other image. SVGs scale perfectly at any size, making them ideal for responsive designs.
Security: AdminEase sanitizes SVGs before accepting them, removing script tags and other potentially harmful content.
How to enable it
- Open AdminEase > Media.
- Toggle Allow SVG Upload on.
- Save. Users can now upload .svg files to the media library.
Settings reference
| Setting | What it does | Default |
|---|---|---|
| Allow SVG Upload | Enables uploading SVG files to the media library with security validation to prevent malicious scripts. | Off |
Troubleshooting
SVG uploads are still blocked
Confirm the setting is enabled in AdminEase. If it is, your theme or plugin may have additional file type restrictions. Check theme documentation.
My SVG displays as broken image
Some browsers and servers don't display SVGs properly. Try downloading the SVG and reopening it in a browser. Check browser console for errors. If the issue persists, the SVG may contain unsupported elements.
