Can't get ajax - loaded image's height and width via jquery.
- by Smickie
I'm loading an image exteranlly via ajax like so...
function load_image(image_href) {
var img = new Image();
$(img).load(function () {
$(this).hide(); $('#a_box').append(this);
$(this).fadeIn();
}, gallery_image_load_complete()
).error(function () {
}).attr('src', image_href);
}
function…