Return `$target` in `Image::get()` if a cached file is copied
Also check whether to resize an image if `$width` or `$height` are omitted