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 Guys n Gals
I want to do something fairly straightforward but can find no help for it.i need to develop a home page carousel.
now i want a macro which will pick the images from the a folder in media,and display them in the home page slider.
need urgently
Hi Aditya
Maybe this package still works? http://our.umbraco.org/projects/website-utilities/nivoslider-for-umbraco
/Jan
thank u for response..but i dont want to use this
as per the rewquirements i have to create a macro to fetch the images from the folder in media.and display them on the page.
we are using the "flexslider" javascript to do the slider effect.
<xsl:output method="xml" omit-xml-declaration="yes"/><xsl:param name="currentPage"/> <xsl:template match="/"><xsl:variable name="images" select="$currentPage/imagefolder"/><xsl:variable name="mediaItems" select="umbraco.library:GetMedia($images, true())"/><xsl:for-each select="$mediaItems/Image"><xsl:variable name="picFile" select="umbracoFile"/><img src="{$picFile}"/></xsl:for-each>
</xsl:template></xsl:stylesheet>
This should render the images selected from the mediapicker called "imageFolder" on your document type.
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
Macro to show an image from Media
Hi Guys n Gals
I want to do something fairly straightforward but can find no help for it.i need to develop a home page carousel.
now i want a macro which will pick the images from the a folder in media,and display them in the home page slider.
need urgently
Hi Aditya
Maybe this package still works? http://our.umbraco.org/projects/website-utilities/nivoslider-for-umbraco
/Jan
thank u for response..but i dont want to use this
as per the rewquirements i have to create a macro to fetch the images from the folder in media.and display them on the page.
we are using the "flexslider" javascript to do the slider effect.
Hi Guys n Gals
I want to do something fairly straightforward but can find no help for it.i need to develop a home page carousel.
now i want a macro which will pick the images from the a folder in media,and display them in the home page slider.
as per the rewquirements i have to create a macro to fetch the images from the folder in media.and display them on the page.
we are using the "flexslider" javascript to do the slider effect.
need urgently
<xsl:output method="xml" omit-xml-declaration="yes"/>
<xsl:param name="currentPage"/> <xsl:template match="/">
<xsl:variable name="images" select="$currentPage/imagefolder"/>
<xsl:variable name="mediaItems" select="umbraco.library:GetMedia($images, true())"/>
<xsl:for-each select="$mediaItems/Image">
<xsl:variable name="picFile" select="umbracoFile"/>
<img src="{$picFile}"/>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
This should render the images selected from the mediapicker called "imageFolder" on your document type.
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.