Added error message if uploading file that's not an image