Closed kidach closed 6 years ago
Not sure if this helps, but adding 'var' to the main declaration on line 20 fixed a
"Uncaught TypeError: object is not a function" error for me:
var main = function(img, options){
You can try to use imagesLoaded for that - http://imagesloaded.desandro.com/
I populate image source with image path i got from ajax. Something like $('#image').attr('src', resultFromAjax);
Am i doing something wrong? :)