![svg image viewer svg image viewer](https://3axis.co/user-images/yon60p7r.png)
![svg image viewer svg image viewer](https://www.presentation-3d.com/wp-content/uploads/2019/10/svgconverter_mac.png)
Leaving it disabled ensures the frontend script is not enqueued and the unnecessary settings stay hidden.įor advanced use: Enable the “Advanced Mode” under “Settings > SVG Support”. If you only need to upload SVG files to use as images, you don’t need to enable “Advanced Mode”. Once activated, you can simply upload SVG images to your media library like any other file.Īs an administrator, you can go to the admin settings page “Settings > SVG Support” and restrict SVG file uploads to administrators only.
Svg image viewer install#
Extremely Simple To Use – Simplifies complex usage of SVG filesįirstly, install and activate SVG Support (this plugin).Set custom target class (can be used on outer elements as of 2.4).Restrict SVG upload ability to Administrators only.Super easy settings page with instructions.Usually your styling options are restricted when using embed, object or img tags alone. The main purpose of this is to allow styling and animation of your SVG elements. This plugin not only provides SVG Support like the name says, it also allows you to easily embed your full SVG file’s code using a simple IMG tag.īy adding the class "style-svg" to your IMG elements (or outer containers), this plugin dynamically replaces any IMG elements containing an SVG in the src that are found inside the target class with your complete SVG code, rendering it inline. Scalable Vector Graphics (SVG) are becoming common place in modern web design, allowing you to embed images with small file sizes that are scalable to any visual size without loss of quality. When using SVG images on your WordPress site, it can be hard to style elements within the SVG using CSS. Now with optional sanitization!īut SVG Support has more features!!! Read on to learn more. Safely upload SVG files to your media library and use them like any other image.