Duplication check to avoid dupliated images