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
907 stars 216 forks source link

Not working! #107

Closed mmarroquin93 closed 5 years ago

mmarroquin93 commented 6 years ago

Hi im trying to use the pluging but is not showing any image, thanks.

Humni commented 6 years ago

There is not enough information to resolve this or even mark it as a bug. Please try it in a new project and give us steps to reproduce. It's still working as far as I am aware

On Tue, Sep 5, 2017, 12:59 AM Hector Mauricio Marroquin Vacarcel < notifications@github.com> wrote:

Hi im trying to use the pluging but is not showing any image, thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rvera/image-picker/issues/107, or mute the thread https://github.com/notifications/unsubscribe-auth/AFSeQvBSq35BjUBoSQ1zf3WV5PfvAMOPks5se_QUgaJpZM4PL41H .

aalavandhaann commented 6 years ago

I really like your jquery component. But the problem is when I try adding the option tag dynamically to the select tag using jquery then there are not images loaded. What could be the problem here? I am iterating through a for loop creating the html tags dynamically and appending it to the select element. And then I call the $('select').imagepicker(). This approach is not showing the images at all. If I try to add the images inside the html hard-coded then it works as expected. Any ideas on how to resolve this?

Regards,

0K

Humni commented 5 years ago

@aalavandhaann in version 4.0.0 the image picker will automatically update when the select options are updated. This version is scheduled for release later this month.