if model.nonCSS.warnings then LrDialogs.message( "LRB Exhibition: Warning", "You have fewer images selected than the total number required by Gallery. Please select more images, or your final output will render incorrectly") end end
%>
<% for i=model.nonCSS.g2.totNum+1, model.nonCSS.g3.totNum do %>
<div class="slide"><% if model.nonCSS.infoSwitch then %><div class="info"><div class="info_content"><%= getImage( i ).metadata.title %></div></div><% end %>
<% if model.nonCSS.gallNos then %><div id="linkbox"><ul style="padding:0; margin:0;"><% for yikes=1, model.nonCSS.g3.imNum do %><li class="boxbox"><%= yikes %></li> <% end %><% if model.nonCSS.OfX then %><li class="pos1">1 of X</li><% end %></ul></div><% end %>
<% includeFile( "foot.html" ) %>
includeFile( "head2.html" ) write( [[
]] )
local mySize = "photos"
write( [[
]] )
local LrDialogs = import "LrDialogs" -- get the namespaces we need
if model.nonCSS.warnings then LrDialogs.message( "LRB Exhibition: Warning", "You have fewer images selected than the total number required by Gallery. Please select more images, or your final output will render incorrectly") end end
write( [[
]] ) for i=model.nonCSS.g2.totNum+1, model.nonCSS.g3.totNum do write( [[
<div class="slide">]] ) if model.nonCSS.infoSwitch then write( [[<div class="info"><div class="info_content">]] )write( getImage( i ).metadata.title )write( [[</div></div>]] ) end write( [[
]] ) if model.nonCSS.gallNos then write( [[<div id="linkbox"><ul style="padding:0; margin:0;">]] ) for yikes=1, model.nonCSS.g3.imNum do write( [[<li class="boxbox">]] )write( yikes )write( [[</li> ]] ) end if model.nonCSS.OfX then write( [[<li class="pos1">1 of X</li>]] ) end write( [[</ul></div>]] ) end write( [[