After retrieving data from the database, which includes images and other fields, I am trying to figure out how to make it so that when users click on an image, it opens in a new window. Below is the code snippet I have:
<a target="_blank" href="#">
<img alt="" src="<%#"data:Image/png;base64,"+Convert.ToBase64String((byte[])Eval("ImageData")) %>"" width="200" height="200" />
</a>
I want to find a way for this image to open in a new window with its actual size or at least a larger size when clicked. Any suggestions on how to achieve this?