DataGrid with image question

I am trying to use the datagrid with a filter template based on a column value. One of five values would return an image file to display. It doesn't look like the context only supports a path string? Is there anyway of using a function to return the image file? Much like row or cell render?

            <RadzenGridColumn Width="80px" TItem="Logs" Property="Logs.Level" Title="Level">
                <Template Context="Logs">
                    <div>@Logs.Level</div>
                    <RadzenImage Path="@GetIcon"/>
                </Template>
            </RadzenGridColumn>

I had to take a different approach and use embedded if's and use RadzenIcon. The browser would not load a local file, but that is documented else where.

                <Template Context="Logs">
                    @if (Logs.Level == "Error")
                    {
                        <RadzenIcon Icon="error" />
                        <span style='color:white;'>@Logs.Message</span>
                    }
                </Template>

You can use RadzenImage for images:
https://blazor.radzen.com/image