corrects image urls