cropResize and remote images

Hello,
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.
Thanks,
André

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="https://www.nasa.gov/sites/default/files/thumbnails/image/juice_artist-impression.jpg" width="300" />