added image loader to samples