[jQuery] Determining when an image is fully loaded

[jQuery] Determining when an image is fully loaded


I load images with
$('#pictures').html('<img src="'+files[pos]+'" id="file'+pos+'"
class="picture">');
and want to save the loaded width,height afterwards. It seems this is
only possible after the image is fully loaded. Is there an event which
I could bind a function?
O. Wyss