move img dir to conf