Closed poikilotherm closed 7 years ago
This is a good idea, due to some conflicts I can't merge this but I added this on 0.3.0 and gave you credit for the good idea!
Is anyone else having issues with this not working? I am using version 0.3.0 via bower. data-img-src works fine, but data-img-class does nothing.
Hi Kevin, maybe the bower version is wrong?
Check the demo page http://rvera.github.io/image-picker and look at the options
It produces the expected result
Hi, kevinwheeler, tried use image-picker.js instead of image-picker.min.js and it is working. I guess image-picker.min.js not updated yet.
uh, that's weird. Thanks @haria will take a look at that.
I wanted to style the image picker with some classes within css.
There was no option to add custom classes to the div or img element generated by jQuery, so I added the tag 'data-img-class' to be used for that.
I hope this is of use for others, too. Would be glad if you accept this PR. Thanks!