change img & video to s3 links