How can I display dynamically, based on window size, a list of images contained in an S3 bucket location? Images are stored on an S3 bucket and the location is stored in an RDS