making sure all imgs are local