In ASP.NET using Response.Write is almost always the wrong thing to do. Get the Classic ASP out of your mind.
Just put an <asp:Image or event a plain <img id="imgToShow" runat="server"
Then just hide it like this if the user is not in the role:
imgToShow.Visible = false;
Hope it helps,
Joe