Title: Support SVG &#8211; Upload svg files in wordpress without hassle
Author: Sayedul Sayem
Published: <strong>2023 年 10 月 4 日</strong>
Last modified: 2026 年 1 月 20 日

---

搜索插件

![](https://ps.w.org/support-svg/assets/banner-772x250.jpg?rev=2974752)

![](https://ps.w.org/support-svg/assets/icon-256x256.jpg?rev=2974752)

# Support SVG – Upload svg files in wordpress without hassle

 作者：[Sayedul Sayem](https://profiles.wordpress.org/sayedulsayem/)

[下载](https://downloads.wordpress.org/plugin/support-svg.1.1.3.zip)

[实时预览](https://cn.wordpress.org/plugins/support-svg/?preview=1)

 * [详情](https://cn.wordpress.org/plugins/support-svg/#description)
 * [评价](https://cn.wordpress.org/plugins/support-svg/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/support-svg/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/support-svg/#developers)

 [支持](https://wordpress.org/support/plugin/support-svg/)

## 描述

The SVG Support plugin enables SVG (Scalable Vector Graphics) support in WordPress.
This lightweight plugin allows you to upload and use SVG files in your WordPress
media library without any restrictions.

This plugin is designed to be minimalistic and focuses solely on enabling SVG support.
It does not enqueue any additional scripts or stylesheets in the frontend, ensuring
it won’t affect the loading speed of your website.

See plugin’s GitHub repo [Support SVG](https://github.com/sayedulsayem/support-svg)

### **Features**

 * Enables SVG uploads in WordPress media library
 * Supports SVG thumbnail display in the Media Library
 * Applies necessary security measures to sanitize SVG uploads
 * Lightweight and does not enqueue any frontend scripts or stylesheets

### **PRIVACY POLICY**

This plugin does not collect, log, sell or trade any kind of information about your
website. You can easily verify that this plugin is not phoning home using a network
traffic inspector like [WireShark](https://www.wireshark.org/).

### **ABOUT THE MAKER**

I am [Sayedul Sayem](https://sayedulsayem.com/), a Bangladeshi full-stack WordPress
developer and free and open source enthusiast. You can contact me at my [LinkedIn](https://www.linkedin.com/in/sayedulsayem/)
for consultation or just to say hello. I love talking to new people. So don’t hesitate.

## 屏幕截图

 * [[
 * Unable to upload svg format image without Support Svg.
 * [[
 * Enable uploading permission svg format image with Support Svg.
 * [[
 * A good preview with grid view.
 * [[
 * A good preview with list view.

## 安装

 1. Upload the plugin folder after extracting it to the “/wp-content/plugins/support-
    svg directory. Alternately, install the plugin through the WordPress plugins screen
    directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Now go to media from WordPress dashboard and you can upload svg images.

## 常见问题

### Will this plugin automatically work after activation?

Yes. You don’t need to do anything else other than activating the plugin.

### Can I use this plugin alongside other media-related plugins?

Yes, this plugin should work alongside other media-related plugins without any conflicts.

### Are there any security considerations when using SVG files?

SVG files can potentially contain malicious code, so it’s crucial to exercise caution
when allowing SVG uploads from untrusted sources. This plugin applies security measures
to sanitize SVG uploads, but it’s recommended to only upload SVG files from trusted
sources.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Support SVG – Upload svg files in wordpress without hassle」是开源软件。 以下人员
对此插件做出了贡献。

贡献者

 *   [ Sayedul Sayem ](https://profiles.wordpress.org/sayedulsayem/)

[帮助将「Support SVG – Upload svg files in wordpress without hassle」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/support-svg)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/support-svg/)，查看[SVN仓库](https://plugins.svn.wordpress.org/support-svg/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/support-svg/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/support-svg/)。

## 更新日志

#### 1.1.3

 * Fix: compatibility with WordPress 6.9.x
 * Fix: PHP error for corner cases

#### 1.1.2

 * Fix: compatibility with WordPress 6.8.x

#### 1.1.1

 * Fix: Enhanced sanitization of SVG files uploaded via REST API to further improve
   security and prevent potential vulnerabilities.

#### 1.1.0

 * Fix: Sanitize svg for improving security.

#### 1.0.0

 * Initial release.

## 额外信息

 *  版本 **1.1.3**
 *  最后更新：**5 月前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/support-svg/)
 * 标签
 * [sanitize](https://cn.wordpress.org/plugins/tags/sanitize/)[security](https://cn.wordpress.org/plugins/tags/security/)
   [SVG](https://cn.wordpress.org/plugins/tags/svg/)[upload](https://cn.wordpress.org/plugins/tags/upload/)
   [Vector](https://cn.wordpress.org/plugins/tags/vector/)
 *  [高级视图](https://cn.wordpress.org/plugins/support-svg/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/support-svg/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/support-svg/reviews/)

## 贡献者

 *   [ Sayedul Sayem ](https://profiles.wordpress.org/sayedulsayem/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/support-svg/)