Updated Image component sample to reflect code changes