Repair img tag