Surendra Sharma

Surendra Sharma

Search This Blog

Wednesday, June 5, 2013

Image Gallery in Sitecore

Assign Placeholder in Template Standard value and set its properties – width, height, presentation, media folder [set parent folder so that all folder images will be fall under it.]
Remember that Image Gallery accepts images of the type .JPG, all others will at the moment just result in a grey screen. If you want to include all types of images then change below lines in “ImageGalleryXMLConfiguration.xslt” file


  <!--<xsl:if test="./item[@template='jpeg']">-->
  <xsl:if test="./item">
    <album title="{@name}"
           description="{sc:fld('description',.)}"
           image="{sc:fld('image',.,'src')}">
      <!--<xsl:for-each select="item[@template='jpeg']">-->
      <xsl:for-each select="item">

No comments:

Post a Comment