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
});
Question
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.
La solution 2
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
});
Autres conseils
There's an extension for Chosen to manage images :