<% --[[ grid.html This file displays a thumbnail grid of the images with dimensions specified in the galleryInfo.lrweb file. The Pagination tagsets have been used to assist with navigation through the photos. -------------------------------------------------------------------------------- DIMIN Software Copyright 2009 Dima Fedorov ADOBE SYSTEMS INCORPORATED Copyright 2008 Adobe Systems Incorporated All Rights Reserved. NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms of the Adobe license agreement accompanying it. If you have received this file from a source other than Adobe, then your use, modification, or distribution of it requires the prior written permission of Adobe. ]] %> <% --[[ Include the page header]] %> <%@ include file="header.html" %> <% if mode ~= 'preview' then %> <% end %>
<% if mode == 'preview' then %> <% --[[ Define all image parameters]] local myTitle = string.gsub(image.metadata.title, "\"", "\'") local myDescr = string.gsub(image.metadata.description, "\"", "\'") local myText = myTitle if string.len(myTitle)>0 and string.len(myDescr)>0 then myText = myTitle .. " : " .. myDescr else myText = myTitle .. myDescr end local myPady = math.floor( (model.photoSizes.thumb.height - image.renditions.thumb.height)/2 ) %> <% if model.appearance.slideplayer.includeMagnify == true then %> <% else %> <% end %> <% end %>
<% --[[ Include the page footer]] %> <%@ include file="footer.html" %>