I’ll ask the question a little differently.
Downloads a photo and creates multiple files with different resolutions.
I use only one or two file files with different resolutions. The rest are not needed. I have to remove them myself manually or this process can be somehow automated