change img to local and add img