image dir supports sub dir