add ignore and set imgmin level