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

Re-Loading ImagePicker #96

Closed draytop closed 7 years ago

draytop commented 7 years ago

Hi,

We are using your image picker and using ajax to load 5 images at a time. The issue is, if you Add 5 more options to the Select, you have to destroy and then re-initialize the imagepicker. The more images you add, the longer it takes to draw the Select as it has to reload all the images again.

Is there anyway around this?

rvera commented 7 years ago

So you don't want to load all the images or all the options at once?

Because you could load all the options, put a placeholder image and then slowly replace all the placeholders with the real images you want.

Otherwise I'd think it falls outside of the scope of the picker.

draytop commented 7 years ago

Ok, thankyou for your support.