Index: wiki/src/main/resources/XWSPhotos/WebHome =================================================================== --- wiki/src/main/resources/XWSPhotos/WebHome (revision 8752) +++ wiki/src/main/resources/XWSPhotos/WebHome (working copy) @@ -12,9 +12,9 @@ XWiki.Admin 1194534618000 -1203539094000 -1203539094000 -2.1 +1206716746000 +1206716746000 +3.1 SpacePhotos @@ -156,9 +156,8 @@ #set($id = "gallery_" + $index) <a id="$id" class="gallery-item" href="$!xwiki.getURL("${link}", "view")"> <span class="heading-1-1"> $galDoc.title</span> - #set($photo_index = 0) + #set($photo_index = 1) #foreach($dName in $photoList) - #set($photo_index = $photo_index + 1) #if($photo_index <= 4) #set($pDoc = $xwiki.getDocument($dName)) #if($pDoc.getAttachmentList().size() > 0) @@ -167,6 +166,7 @@ #set($filename = $photo.filename) #set($imageurl=$pDoc.getAttachmentURL(${filename},'download',"height=73")) <img src="${imageurl}" width="80" height="73"/> + #set($photo_index = $photo_index + 1) #end #end #end @@ -176,6 +176,7 @@ #if($desc.length() > 80) #set($desc = $desc.substring(0,79)) #end + <br /> $desc <br /> </a>