I have a function that I wish to use to resize images:
When I run it on document.ready, it has no effect; the image size returned is '0' (You may notice that it does work in the fiddle... I'm not sure what's causing this inconsistencty to be honest, but on my test site it's most definitely returning height and width of '0'.
Is this expected behaviour? If so, how could I make a simple listener for when images have width?