I have a site where the user can upload an image. The image is uploaded to an S3 bucket, then processed with a Lambda function that generates 7 different coloured versions of the image, stores them on an S3 bucket and the function ultimately returns the URLs of the new coloured images back to the user so they can select their preferred color on the site.
This process takes some time, around 5-6 seconds with a good connection, during which the user can only see a loading screen. Since it's only possible with one callback from lambda, how would I go about to "lazy load" the 7 different coloured images rather than having the loading screen? I would like to have something like a skeleton UI which gradually loads the different coloured images as soon as each of them are generated, rather than having to wait for all of them. Is this possible?