문제

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.

enter image description here

any suggestion would be appreciated.

도움이 되었습니까?

해결책 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
});

다른 팁

There's an extension for Chosen to manage images :

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top