images model config to slug name