Start to write logic for handling image uploads.