Image upload is working. Error was with mimeType validation