Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 `