Finally got the images to save to the gallery.