Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
how to use html image tag in razor like <h1> tags in umbraco4.7.1.1?
Hi Siva,
Lets say you have a Media Picker property on your DocumentType with alias photo. You should get the image in your page with the following razor syntax:
<img src="@Model.MediaById(Model.photo).umbracoFile"alt=""/>
/Dennis
thnak you dennis .it worked.
Good to hear.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
how to use html image tag in razor like <h1> tags in umbraco4.7.1.1?
how to use html image tag in razor like <h1> tags in umbraco4.7.1.1?
Hi Siva,
Lets say you have a Media Picker property on your DocumentType with alias photo. You should get the image in your page with the following razor syntax:
/Dennis
thnak you dennis .it worked.
Good to hear.
/Dennis
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.