I am working on an image resizer app I am taking multiple images as input ( using file uploader) and resizing them now I want to download all those resized images at once how can I do it?
Here is my image resizer code:
I am working on an image resizer app I am taking multiple images as input ( using file uploader) and resizing them now I want to download all those resized images at once how can I do it?
Here is my image resizer code:
I’d probably make a zip file on the server, return it as a media object, and use Anvils “download()” function.
Note: It’s usually better for code to be shared directly (wrapped in triple backticks) rather than a screenshot. This makes it easy for people to copy/paste it in order to help find solutions.
Thanks, I will surely keep that in mind while posting next time.
You can also call download()
multiple times in a row to download all the files. Depends what your users prefer!