now saves image, working on looping until nextlink is invalid