An upload images button should be added to the top of the page on the index/index lambda. There should be a check to see that there is only one uploaded file, and that the file is an image (reducing allowed types to .png and .jpeg would probably be good).
Doing a quick look, it looks like this will best be handled with a bit of JavaScript on the main page that calls a lambda function that adds the image to the bucket. Utilizing only a lambda might bring some scalability concerns and would be rather slow.
An upload images button should be added to the top of the page on the index/index lambda. There should be a check to see that there is only one uploaded file, and that the file is an image (reducing allowed types to .png and .jpeg would probably be good).
Doing a quick look, it looks like this will best be handled with a bit of JavaScript on the main page that calls a lambda function that adds the image to the bucket. Utilizing only a lambda might bring some scalability concerns and would be rather slow.