nil
ERROR

ERROR

Switch View
  1. <% includeFile( "head2.html" ) %>
  2. <%
  3. local mySize = "photos"
  4. %>
  5. <%
  6. local LrDialogs = import "LrDialogs" -- get the namespaces we need
  7. local LrView = import "LrView"
  8. local bind = LrView.bind
  9. %>
  10. <body>
  11. <div class="portfolio_content">
  12. <!-- Slideshow HTML -->
  13. <div id="slideshow"><div class="logo"><a href="$model.nonCSS.home.link"><img src="logo.png" alt="$model.nonCSS.siteTitle" /></a></div>
  14. <div id="slidesContainer">
  15. <% if model.nonCSS.g6.totNum>numImages then
  16. if model.nonCSS.warnings then LrDialogs.message( "LRB Exhibition: Warning", "You have fewer images selected than the total number required by Gallery 6. Please select more images, or your final output will render incorrectly") end
  17. end
  18. %>
  19. <% for i=model.nonCSS.g5.totNum+1, model.nonCSS.g6.totNum do %>
  20. <div class="slide"><% if model.nonCSS.infoSwitch then %><div class="info"><div class="info_content"><%= getImage( i ).metadata.title %></div></div><% end %>
  21. <img style="margin-top:<%= math.floor(model.nonCSS.h - getImage(i).renditions.photos.height) / 2 %>px;" src="large/<%= getImage(i).exportFilename %>.jpg" alt="<%= getImage( i ).metadata.title %>" title="<%= getImage( i ).metadata.title %>" />
  22. </div>
  23. <% end %>
  24. </div><% includeFile( "menu.html" ) %></div>
  25. </div>
  26. <!-- Slideshow HTML -->
  27. </div>
  28. <% if model.nonCSS.gallNos then %><div id="linkbox"><ul style="padding:0; margin:0;"><% for yikes=1, model.nonCSS.g6.imNum do %><li class="boxbox"><%= yikes %></li> <% end %><% if model.nonCSS.OfX then %><li class="pos1">1 of X</li><% end %></ul></div><% end %>
  29. <% includeFile( "foot.html" ) %>
  1. includeFile( "head2.html" ) write( [[
  2. ]] )
  3. local mySize = "photos"
  4. write( [[
  5. ]] )
  6. local LrDialogs = import "LrDialogs" -- get the namespaces we need
  7. local LrView = import "LrView"
  8. local bind = LrView.bind
  9. write( [[
  10. <body>
  11. <div class="portfolio_content">
  12. <!-- Slideshow HTML -->
  13. <div id="slideshow"><div class="logo"><a href="]] )write( model.nonCSS.home.link )write( [["><img src="logo.png" alt="]] )write( model.nonCSS.siteTitle )write( [[" /></a></div>
  14. <div id="slidesContainer">
  15. ]] ) if model.nonCSS.g6.totNum>numImages then
  16. if model.nonCSS.warnings then LrDialogs.message( "LRB Exhibition: Warning", "You have fewer images selected than the total number required by Gallery 6. Please select more images, or your final output will render incorrectly") end
  17. end
  18. write( [[
  19. ]] ) for i=model.nonCSS.g5.totNum+1, model.nonCSS.g6.totNum do write( [[
  20. <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( [[
  21. <img style="margin-top:]] )write( math.floor(model.nonCSS.h - getImage(i).renditions.photos.height) / 2 )write( [[px;" src="large/]] )write( getImage(i).exportFilename )write( [[.jpg" alt="]] )write( getImage( i ).metadata.title )write( [[" title="]] )write( getImage( i ).metadata.title )write( [[" />
  22. </div>
  23. ]] ) end write( [[
  24. </div>]] ) includeFile( "menu.html" ) write( [[</div>
  25. </div>
  26. <!-- Slideshow HTML -->
  27. </div>
  28. ]] ) if model.nonCSS.gallNos then write( [[<div id="linkbox"><ul style="padding:0; margin:0;">]] ) for yikes=1, model.nonCSS.g6.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( [[
  29. ]] ) includeFile( "foot.html" ) write( [[
  30. ]] )