fetch link and save it for the latest photo
used latest link for video