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
Hi there.
I have a media picker field on my document type, and try to get the url from the image.
When calling the field i get a valid ID
But when using:
<umbraco:Item runat="server" field="pSiteBackgroundImage" xslt="umbraco.library:NiceUrl({0})"/>
It returns nothing.
I've even reinstalled umbraco to make sure, that it's working.
Any ideas ?
Hi Jens, you can use the GetMedia function - do like this:
<umbraco:Item runat="server" field="pSiteBackgroundImage" xslt="umbraco.library:GetMedia({0}, 'false')/data [@alias = 'umbracoFile']"/>
>Tommy
Thanks a mill.. :-)
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
Can't get inline XSLT to work
Hi there.
I have a media picker field on my document type, and try to get the url from the image.
When calling the field i get a valid ID
But when using:
<umbraco:Item runat="server" field="pSiteBackgroundImage" xslt="umbraco.library:NiceUrl({0})"/>
It returns nothing.
I've even reinstalled umbraco to make sure, that it's working.
Any ideas ?
Hi Jens, you can use the GetMedia function - do like this:
<umbraco:Item runat="server" field="pSiteBackgroundImage" xslt="umbraco.library:GetMedia({0}, 'false')/data [@alias = 'umbracoFile']"/>>Tommy
Thanks a mill.. :-)
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.