<% includeFile( "head2.html" ) %> <% local mySize = "photos" %> <% local LrDialogs = import "LrDialogs" -- get the namespaces we need local LrView = import "LrView" local bind = LrView.bind %>
<% if model.nonCSS.useMenu then %> <% if model.nonCSS.g1.totNum>numImages then if model.nonCSS.warnings then LrDialogs.message( "LRB Exhibition: Warning", "You have fewer images selected than the total number required by the Gallery 1. Please select more images, or your final output will render incorrectly") end %> <% else %> <% for i=1, math.min(model.nonCSS.g1.imNum,model.nonCSS.width) do %>
<% if model.nonCSS.infoSwitch then %>
<%= getImage( i ).metadata.title %>
<% end %><%= getImage( i ).metadata.title %>
<% end %><% end %> <% else %> <% for i=1, math.min(numImages,model.nonCSS.width) do %>
<% if model.nonCSS.infoSwitch then %>
<%= getImage( i ).metadata.title %>
<% end %><%= getImage( i ).metadata.title %>
<% end %><% end %>
<% includeFile( "menu.html" ) %>
<% if model.nonCSS.gallNos then %><% end %> <% includeFile( "foot.html" ) %>