Added code and files to support image upload