tap to favorite an image and save its url