List all images in a media folder using XSLT in Umbraco 4.7.0?
Hi
I have an umbraco page on which the user can pick a media folder. Now I want to write an XSLT-script that takes the picked folder and lists all images that are in it using some sort of for-each loop.
List all images in a media folder using XSLT in Umbraco 4.7.0?
Hi
I have an umbraco page on which the user can pick a media folder. Now I want to write an XSLT-script that takes the picked folder and lists all images that are in it using some sort of for-each loop.
Regards,
Gaurav.
Hi Gaurav,
Try something like this:
It includes:
- Paging
- Thumbs with imagegen
- Link to original file
'fotos' is in this case the property in your documenttype.
Hi Bas Schouten ,
thanks for your relpy.
image are comes in anchor tag and img tag , but image can not show on page .
Is ImageGen installed? (http://our.umbraco.org/projects/website-utilities/imagegen)
If not the images wont show. Test again after replacing
With
<xsl:attributename="src">
<xsl:value-ofselect="$picFile"/>
</xsl:attribute>
Hi Bas Schouten,
you are right i am not install the ImageGen.
Now i am installing the imageGen.
thanks for your reply.
is working on a reply...