User is shown an error message if they try to create a post without a photo