Giter Site home page Giter Site logo

benmaurer / image-select Goto Github PK

View Code? Open in Web Editor NEW

This project forked from websemantics/image-select

0.0 2.0 0.0 8 MB

Image Select is an extension of Chosen, a jQuery plugin that makes long, unwieldy select boxes much more user-friendly. It provides image support for Single and Multi select HTML tags.

Home Page: http://websemantics.github.io/Image-Select

License: MIT License

Shell 2.75% HTML 62.02% CSS 12.85% JavaScript 22.37%

image-select's Introduction

   ╭────────────────────╮                                                                  
   │     /\/      ╭──────────╮╭────┬───┬──╮╭──────╮╭─┬────╮╭──────╮                        
   │         \/\  │  ╭╮  ╭╮  ││           │├────  ││ ╭╮   ││  ──  │                        
   │  /\/         ╰──╯│  │╰──╯│   ╭╮  ╭╮  ││ ╭╮   ││ ╰╯   ││      │                        
   │                  │  │    │   ││  ││  ││ ╰╯   │├───   ││  ────┤                        
   │        Λ         │  │    ╰───╯╰──╯╰──╯╰───┴──╯╰──────╯╰──────╯                        
   │       ╱ ╲   /░░\ │ ╭──────╮╭──────╮╭───╮╭──────╮╭──────╮ ╭───╮                         
   │      ╱   ╲  \░░/ │ │  ────┤│  ──  ││   ││  ──  ││   ╭──╯╭╯   ╰╮                        
   │     ╱ \/\/╲      │ │      ││      ││   ││      ││   ╰──╮╰╮   ╭╯                        
   │    ╱       ╲ ╭──╮│ ├────  ││  ────┤│   ││  ────┤│      │ │ ──┤                         
   │   ╱         ╲│  ╰╯ ╰──────╯╰──────╯╰───╯╰──────╯╰──────╯ ╰───╯  v2.0                       
   │  ╱           ╰──────────╯
   ╰────────────────────╯                                                                  

GitHub license GitHub forks GitHub stars Percentage of issues still open

We designed this plugin extension as a humanized UI element for social networking sites that need to facilitate relations between people. Research shows that people are extremely sensitive to photos of others, so we needed to revamp the traditional UI elements to make them more intuitive and human.

New Style

Fresh flat styles and new logo & web design for better user experience

Image Select

Try Live or Examples

Use Scenarios

You can use these plugin extensions for modelling multiple (one-to-many) or single (one-to-one) relations between people.

We couldn't find any scripts that had this full functionality, so we developed it ourselves on top of Chosen. Hope you find it helpful, and get back if you have any feedback/improvements.

Installation

  • Clone locally,
git clone https://github.com/websemantics/Image-Select
  • Install dependencies,
bower i
  • Browse to index.html or example.html

Bower Package

Install in your project,

bower install image-select --save

To get information about available packages

bower info image-select

Usage

You only need to add a data-img-src attribute to your <option> tag.

<select class="my-select">
  <option data-img-src="img/adnan.png">Adnan Sagar</option>
  <option data-img-src="img/rena.png">Rena Cugelman</option>
  <option data-img-src="img/tavis.png">Tavis Lochhead</option>
  <option data-img-src="img/brian.png" selected="selected">Brain Cugelman</option>
</select>

Then call Chosen as you would with the options you need.

$(".my-select").chosen();

Support

Need help or have a question? post a questions at StackOverflow

Please don't use the issue trackers for support/questions.

Contributions

We are more than happy to accept external contributions to the project in the form of feedback, bug reports and even better - pull requests :)

Used by

PyroCMS Social Field Type

demo

Open Source

Chosen, http://github.com/harvesthq/chosen Bragit, http://websemantics.github.io/bragit

Copyright and license

MIT license Copyright (c) Web Semantics, Inc.

image-select's People

Contributors

bmaurer22 avatar iamcal avatar khiav223577 avatar klebervirgilio avatar limeiralucas avatar romainsauvaire avatar rustamgasanov avatar simonerich avatar stephan-lindner avatar websemantics avatar whatcould avatar

Watchers

 avatar  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.