tagla ----- Awesome Photo Tagging library
npm install taglatagla
-----
Awesome Photo Tagging library
```
bower install tagla
* CSS files
`html`
* JavaScript files
`html`
* Instantiate
`js`
var tagla = new Stackla.Tagla($container, {
editor: true,
unit: 'percent',
data: [
{
x: 25,
y: 70,
label: 'frankie Magazine January 2015',
price: '$26.95',
description: 'Just try wiping ...',
image: 'product.png'
},
{
x: 33,
y: 53,
label: 'John Jr',
price: 500,
description: 'Shy...',
image: 'product.png'
},
{
x: 65,
y: 32,
label: 'Gobbler',
price: 500,
description: 'Eat everything',
image: 'product.png'
}
],
unit: 'percent'
});
tagla.render();
* Install npm and bower packages for first time only.
``
$ git clone git@github.com:josephj/tagla.git
$ cd tagla
$ bower install .
$ npm install .
* Execute gulp
```
$ gulp