rvera / image-picker

Image Picker is a simple jQuery plugin that transforms a select element into a more user friendly graphical interface.
http://rvera.github.com/image-picker
Other
906 stars 216 forks source link

show-html.js ??? #21

Closed andyrcampbell closed 10 years ago

andyrcampbell commented 10 years ago

I cannot get this to work but I am missing show-html.js - where can I get this ? Is this likely to be the problem ? - the images will not display

rvera commented 10 years ago

You only need to include the image-picker.js or image-picker.min.js

show-html.js is used as an additional tool on the doc pages to dynamically display the html of the select elements.

So, somewhere in your html include the lib

 <script src="image-picker/image-picker.js" type="text/javascript"></script>

Then just call the library on an element selector, e.g.:

jQuery("select").imagepicker();