cropResize and remote images

I am trying to resize an image from a remote url, but the naive implementation does not work, e.g.

is there a method to resize remote images? I also tried the resize function just in case, but same result.

manually making an image works, so is this a bug in the handling of remote images? or just a feature not supported for some reason?
The following sets the width and then height auto-rescales - probably better way to set the width/height of image

<img src="" width="300" />