Currently if passing a `<TargetImage>` with a url that does not return an image (404 for example), it will throw unrelated errors. For example with `allowRotate` it will throw "Resize with rotation not implemented"