resolve redirects for image urls