Svg2Png
A WordPress plugin that creates a PNG copy of each uploaded SVG image uploaded using CloudConvert
★ 4stars
1forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/mindkomm/svg2png/archive/refs/heads/master.zipFrom the readme
SvgToPng
A WordPress plugin that creates a PNG copy of each uploaded SVG image uploaded using CloudConvert.
This plugin is intended for theme developers who want to make it possible to include a PNG fallback for SVG images uploaded through WordPress.
This plugin doesn’t include a fallback method itself, it will just convert SVG images to PNG.
Features
Creates a PNG copy of each uploaded SVG image.
Deletes PNG copies when deleting SVG images.
Lists SVG images without a PNG fallback on the Settings page in the backend with the possibility to create a PNG copy for them.
Requirements
API key from your CloudConvert account
You will need a CloudConvert account to use this plugin. Get your API key from the account dashboard and enter it under Settings Svg2Png.
Allow uploading of SVG images
For SVG images to work, make sure that you allow uploading of SVG images:
Be aware of the implications that allowing the uploads of SVG images might have.
SVG fallback
This plugin doesn’t come with a solution to add an SVG fallback. You will have to come up with your own method of including it in your theme. Sara Soueidan provides a very handy overview on the different ways you can go