Description
Add SVG support to your WordPress web. You can upload SVG files, you can see them as thumbnails in media library, etc.
Security
SVG files have XML syntax which would allow someone to inject malicious code. That’s why only Administrators and Editors can upload SVG files.
If you know what you are doing and you want to enable SVG upload for everyone with Media Library access or upload_files capability, then you can use WP_SVG_FOR_EVERYONE constant in your wp-config.php
define( 'WP_SVG_FOR_EVERYONE', true );
Installation
- Upload
wp-svg-images
directory to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
Reviews
Contributors & Developers
“WP SVG images” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “WP SVG images” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
3.6
- fix typo in last update
3.5
- tested on WordPress 5.8
- fix missing width and height for core/image block
3.4
- allow SVG uploads only for administrators and editors
3.3
- tested on WordPress 5.7
3.2
- tested on WordPress 5.4
3.1
- tested on WordPress 5.3
3.0
- added support for Beaver Builder media uploader
2.9
- tested on WordPress 5.0
2.8
- fix SVG size as featured image
2.7
- earlier upload_mimes filter init fix
2.6
- svg sizing css removed because of many conflicts
2.5
- fixed svg icon size in plugins updating listing
2.4
- SVN commit problem
2.3
- fixed svg icon size in plugins listing
2.2
- convert svg width and height to float number [PX]
2.1
- added svg width and height metadata
2.0
- added svgz support
- fixed svg thumbnails
1.4
- repair count() error
1.3
- 4.9 compatibility
1.2
- added size calculation fix for wp_get_attachment_image_src
1.1
- fix for WP4.7.1 bug
1.0
- First version