image upload feature

bug fixes