replace imgs with local ones