demo on displaying images