delete localhost in image urls