I am setting the source for an image using a handler following this example: Use Razor Page handler as image source.
The code looks like this:
<img src="StreamLink?handler=Thumb&filename=@thumbpath"/>
This works great for the first time the page is called. However, there is an option to call the same page (Albumlist) again for a different year using this link:
<a class="yearlist" asp-page="/Albumlist" asp-route Section="@strYear.Key">@strYear.Value</a>
On the second call OnGetThumb is no longer executed.
Any ideas on how to set the image source for subsequent page calls?
Thanks
Th.
