How to maintain non local images

Hello,
I want to use functions like crop() or resize() for image files, where I have only the URL?

Example: The URL to an image or picture is saved to a field.

<img src="<?= $field->resize(200); ?>" >

My suspicion is, that the resize function cannot handle the file behind the URL and it is still running only with local files.

Thank you.

You would have to make them file object, i.e. virtual files, see http://getkirby.test/docs/guide/virtual-content/virtual-files

Or why don’t you store those images locally?

Thank you for the hint.
I have often to do with external picture resources, where I don`t want to download these to reduce redundancies and to save capacity.