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
I want to display a header logo on my master template.
So far I have this code:
<h1 class="brand_name"> <a href="/"><img width="320px" src='@(Model.Content.GetPropertyValue<IEnumerable<IPublishedContent>>("headerLogo").Url)'> </a> </h1>
When i run the page i receive this error message:
http://i.imgur.com/4RaL947.png
I'm not sure what causes this error, as the formatting looks fine to me. The mediapicker property editor for the header logo is defined in a language document type, which has the master as its template.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
CS1502 error when inserting media url in img source attribute
I want to display a header logo on my master template.
So far I have this code:
When i run the page i receive this error message:
http://i.imgur.com/4RaL947.png
I'm not sure what causes this error, as the formatting looks fine to me. The mediapicker property editor for the header logo is defined in a language document type, which has the master as its template.
is working on a reply...