add img to localdir