Fetching images from gallery.