add check image exist.