move image dir to conf