Hello,
I can not figure out how to show an image / produce the required -tag.
I have added a property "Url to image" to my page type.
Selected a image that i would like to show but how do I show in in the resulting HTML page?
I try with:
But it produces a link to the image.
Best regards,
Perry Jönsson
There are a lot of different ways to do this.
One is:
(Requires a databind. You can replace # with = if you don't)
Another is:
In page_load
if (!IsPostBack)
{
Img.ImageUrl = CurrentPage.Property["CenterPicture"].ToString();
}
But it produces a link to the image. Best regards, Perry Jönsson