added image upload to samples