#if($PhotoList.Count > 0) #foreach($PhotoItem in $PhotoList)
  • #if($DisplayPhoto ==true)
    ${xf.ViewContent(

    ${xf.ViewContent("Name",$PhotoItem)}

    ${xf.ViewCategories($PhotoItem)}
    ${xf.ViewSummary($PhotoItem,500,"...")}
    #else
    ${xf.ViewContent(

    ${xf.ViewContent("Title",$PhotoItem)}

    ${xf.ViewCategories($PhotoItem)}
    ${xf.ViewSummary($PhotoItem,500,"...")}
    #end
  • #end #end
${Pager}