Git Product home page Git Product logo

labelmaker's Introduction

Labelmaker

Labelmaker is a jQuery plugin that allows you to tag your images and add comments with ease.

labelmaker

Check out the demo!

Features:

  • Responsive
  • Supports links and images in comments
  • Comment bubbles always fit within the image and scroll inside if the comment is too long
  • Your comments are visible as a list, even when Labelmaker is not available — RSS feeds, read-it-later services, slow connection
  • An editor to add tags to your image

Usage

  1. Upload your image somewhere.

  2. Paste the link to your image into the editor, then use it to add tags and comments

  3. Add your image and the tag data generated by the editor to your page:

    <img src="IMG_1707.jpg" class="labelmaker">
    <ul class="labelmaker-points">
     <li data-left="80" data-top="80">Orange juice</li>
     <li data-left="80" data-top="45">Yummy peaches</li>
    </ul>
    
  4. Add jQuery and Labelmaker, then run Labelmaker, passing the image and the tag data block to it:

    <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
    <script src="jquery.labelmaker.min.js"></script>
    <link href="labelmaker.min.css" rel="stylesheet">
    
    <script>
      $('.labelmaker').labelmaker($('.labelmaker-points'));
    </script>
    

Settings

You can choose whether to show comments on click or hover. Click is the default, so if you want hover:

$('.labelmaker').labelmaker($('.labelmaker-points’), {showOn: 'hover'});

labelmaker's People

Contributors

arturi avatar kelion avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.