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
MainFolder--- ---Subfolder1--images ---Subfolder2--images ---Subfolder3--images ---Subfolder4--images
how we can show every subfolder first images
thanks
Gaurav
Hi Gaurav,
I did something similar. Take a look at this code.
<xsl:variable name="albumNodes" select="umbraco.library:GetXmlNodeById(1122)/* [@isDoc and self::Album and string(umbracoNaviHide) != '1']" /> <xsl:for-each select="$albumNodes"> <div> <a href="{umbraco.library:NiceUrl(@id)}"> <strong> <xsl:value-of select="pageTitle"/> </strong> </a> <br /> <xsl:variable name="MediaNodeId" select="mediaAlbum" /> <a href="{umbraco.library:NiceUrl(@id)}"> <xsl:for-each select="umbraco.library:GetMedia($MediaNodeId, true())/* [umbracoFile != '']"> <xsl:if test="position()='1'"> <img src="{umbracoFile}" width="198" height="118" border="0" alt="{@nodeName}" /> </xsl:if> </xsl:for-each> </a> </div> </xsl:for-each>
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How we can show images in Media folder
MainFolder---
---Subfolder1--images
---Subfolder2--images
---Subfolder3--images
---Subfolder4--images
how we can show every subfolder first images
thanks
Gaurav
Hi Gaurav,
I did something similar. Take a look at this code.
is working on a reply...