Implemented Image upload functionality.