fix photo and video upload links