I used jquery chosen plugin to create beautiful dropdown. Dropdown contents are image file names. I want to show a small thumbnail of each image file beside of dropdown options.
any suggestion would be appreciated.
There's an extension for Chosen to manage images :
http://websemantics.github.io/Image-Select/
The above extension is not adequate, the image items will be disappear when searching. Try the following extension: https://github.com/djgrant/chosen-image But the config is:
$(".my-select").chosenImage({
disable_search: false
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With