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
Hello,
1.I have use multiple file uploader package.There i have uploaded images,html files,pdf etc.
2.I want to show these files in main site there i can read the same file.
Please help me
Thanks & Regards,
Mitali
here is an xslt example of getting all the images inside a media folder with id 1161:
<xsl:variable name="Images" select="umbraco.library:GetMedia(1161, 1)">
<ul class="gallery"><xsl:for-each select="$Images//Image"> <xsl:if test="@id != '' "> <li> <img src="{umbraco.library:GetMedia(@id, 1)/umbracoFile}" /> </li> </xsl:if></xsl:for-each></ul>
Hi Mitali.
Maybe you should check out the new Media Iterator package that's just been released a coupl of days ago. I haven't tried it out yet, but it looks like a package that would fit your needs :)
/Kim A
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
Read the content of media folder
Hello,
1.I have use multiple file uploader package.There i have uploaded images,html files,pdf etc.
2.I want to show these files in main site there i can read the same file.
Please help me
Thanks & Regards,
Mitali
here is an xslt example of getting all the images inside a media folder with id 1161:
<xsl:variable name="Images" select="umbraco.library:GetMedia(1161, 1)">
<ul class="gallery">
<xsl:for-each select="$Images//Image">
<xsl:if test="@id != '' ">
<li>
<img src="{umbraco.library:GetMedia(@id, 1)/umbracoFile}" />
</li>
</xsl:if>
</xsl:for-each>
</ul>
Hi Mitali.
Maybe you should check out the new Media Iterator package that's just been released a coupl of days ago. I haven't tried it out yet, but it looks like a package that would fit your needs :)
/Kim A
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.