该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

SVG Autocrop

描述

📰🔌🔳🚗🌽 This plugin causes all SVG image uploads to be processed by SVG Autocrop. The SVG Autocrop service crops an SVG to have a one pixel border on all sides and runs other optimizations to produce the most efficient SVG image. Read more about the technical details of SVG Autocrop on its GitHub page.

SVG Autcrop is a free service but if you will be autocropping more than a thousand SVGs a month, please create your own autocrop server using the SVG Autocrop code. If you do use our service, we would appreciate if you would add a link back to cncf.io from your GitHub project page as a thank you.

This plugin has been coded by Fuerza Studio for CNCF and The Linux Foundation.

Note: The plugin requires also having the Safe SVG plugin activated which enables uploads of SVGs in WordPress and sanitizes them.

安装

  1. Upload the plugin files to the /wp-content/plugins/wp-svg-autocrop directory or install the plugin through the WordPress plugins screen directly
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Upload an SVG file to have it autocropped

评价

此插件暂无评价。

贡献者及开发者

“SVG Autocrop” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“SVG Autocrop”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.1.2

  • Fix dependency declaration on Safe SVG plugin

0.1.1

  • Disabled error reporting to allow SVG uploads to proceed even when autocrop process fails

0.1.0

  • First release