added image upload capability