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
The newsImage.xslt (and similar code in newsList.xslt) files need a minor change to correctly display images under Umbraco 4.5.1.
Change from this:
<xsl:value-of select="umbraco.library:GetMedia($currentPage/newsImage, false() )/Image/umbracoFile" />
to this:
<xsl:value-of select="umbraco.library:GetMedia($currentPage/newsImage, false() )/umbracoFile" />
Whoa, minor change but major impact! This had me stumped for a few hours...
Thanks for bringing this to everyone's attention!
Hi Steve
Thanks for this, must have let this slip. I'm cvatching up after a week or two off so I'll try to fold this back in when I get a free moment.
Cheers,Dan
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
xslt change for Umbraco 4.5.1 to display images
The newsImage.xslt (and similar code in newsList.xslt) files need a minor change to correctly display images under Umbraco 4.5.1.
Change from this:
<xsl:value-of select="umbraco.library:GetMedia($currentPage/newsImage, false() )/Image/umbracoFile" />
to this:
<xsl:value-of select="umbraco.library:GetMedia($currentPage/newsImage, false() )/umbracoFile" />
Whoa, minor change but major impact! This had me stumped for a few hours...
Thanks for bringing this to everyone's attention!
Hi Steve
Thanks for this, must have let this slip. I'm cvatching up after a week or two off so I'll try to fold this back in when I get a free moment.
Cheers,
Dan
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.