Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bymayo/jquery-svg-convert
Convert .svg images to code on the fly with jQuery
https://github.com/bymayo/jquery-svg-convert
jquery jquery-plugin svg svg-converter svg-icons svg-path
Last synced: 4 months ago
JSON representation
Convert .svg images to code on the fly with jQuery
- Host: GitHub
- URL: https://github.com/bymayo/jquery-svg-convert
- Owner: bymayo
- Archived: true
- Created: 2015-07-26T14:47:41.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-01-16T10:08:03.000Z (almost 6 years ago)
- Last Synced: 2024-08-30T14:13:20.627Z (4 months ago)
- Topics: jquery, jquery-plugin, svg, svg-converter, svg-icons, svg-path
- Homepage:
- Size: 203 KB
- Stars: 30
- Watchers: 4
- Forks: 15
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
> ⚠️ Deprecated - This plugin is no longer supported, but it is fully functional.
# SVG Convert
SVG Convert is a jQuery plugin that takes an `.svg` image (``) and converts it in to raw SVG code (``)
It is useful when dealing with Content Management Systems (CMS) where users upload `.svg` files. It allows you to then interact with the raw code, changing fills, strokes etc within the sites CSS.
## Usage
> **Important: SVG's can only be converted when ran on a server environment. "Cross Origin Requests" fail on local environments.**
## Getting Started
### Install
The simplest way to get up and running is to copy the `svg-convert.js` file from `dist` and place it in to your `js` folder inside your project.
Insert the code below before your `