Adding option to show image or not