scan to display images on gallery