Home Gallery Index About Contact

ERROR

ERROR

Switch View
  1. <% --[[ Include the page head]] %>
  2. <%
  3. --[[ Define some variables to make locating other resources easier
  4. firstPage was defined in our manifest.]]
  5. local theRoot = "."
  6. %>
  7. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  8. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" dir="<%= model.metadata.html.dir %>">
  9. <head>
  10. <meta http-equiv="content-type" content="text/html; charset=<%= model.nonCSS.charset %>" />
  11. <% if model.nonCSS.metaTags then %><meta name="author" content="<%= model.metadata.metaAuthor.value %>" />
  12. <meta name="description" content="<%= model.metadata.metaDescription.value %>" />
  13. <meta name="keywords" content="<%= model.metadata.metaKeywords.value %>" />
  14. <meta name="generator" content="Adobe Photoshop Lightroom, TTG LR Pages" /><% end %>
  15. <title>$model.metadata.htmlTitle.value</title>
  16. <link rel="shortcut icon" type="image/ico" href="$theRoot/resources/images/favicon.ico" />
  17. <link rel="stylesheet" type="text/css" media="screen" href="$theRoot/resources/css/gallery.css" />
  18. <script type="text/javascript" src="$theRoot/resources/js/swfobject.js"></script>
  19. <script type="text/javascript" src="$theRoot/resources/js/livevalidation.js"></script>
  20. <script type="text/javascript" src="$theRoot/resources/js/jquery-1.4.1.min.js"></script>
  21. <script type="text/javascript" src="$theRoot/resources/js/jquery.jfade.1.0.min.js"></script>
  22. <% if model.nonCSS.gridType == 'iconic' then %><% if model.nonCSS.captifyAnimation == 'never' then %><% else %><script type="text/javascript" src="$theRoot/resources/js/captify.tiny.js"></script><% end %><% end %>
  23. <% if model.nonCSS.indexAction == 'shadowbox' then %>
  24. <script type="text/javascript" src="$theRoot/resources/shadowbox/shadowbox.js"></script>
  25. <script type="text/javascript">
  26. var options = {
  27. overlayColor: '<%= model.nonCSS.shadowboxOverlayWebColor %>',
  28. overlayOpacity: 0.<%= model.nonCSS.shadowboxOverlayOpacity %>,
  29. players: ['img','swf','flv','qt','wmp','iframe','html']
  30. };
  31. Shadowbox.init(options);
  32. </script>
  33. <link rel="stylesheet" type="text/css" media="screen" href="$theRoot/resources/shadowbox/shadowbox.css" />
  34. <style type="text/css">
  35. #sb-nav-close { background-image:url($theRoot/resources/images/<%= model.nonCSS.shadowbox_controls %>.png) !important; background-position: -64px 0; }
  36. #sb-nav-next { background-image:url($theRoot/resources/images/<%= model.nonCSS.shadowbox_controls %>.png) !important; background-position: -32px 0; }
  37. #sb-nav-previous { background-image:url($theRoot/resources/images/<%= model.nonCSS.shadowbox_controls %>.png) !important; background-position: -48px 0; }
  38. #sb-nav-play { background-image:url($theRoot/resources/images/<%= model.nonCSS.shadowbox_controls %>.png) !important; background-position: -16px 0; }
  39. #sb-nav-pause { background-image:url($theRoot/resources/images/<%= model.nonCSS.shadowbox_controls %>.png) !important; background-position: 0 0; }
  40. </style>
  41. <% end %>
  42. <script type="text/javascript">
  43. $(function(){
  44. $(".albumBox").jFade({
  45. trigger: "mouseover",
  46. property: 'background',
  47. start: '<%= model.nonCSS.albumBox_color_ag %>',
  48. end: '<%= model.nonCSS.albumBox_color_onhover_ag %>',
  49. steps: 20,
  50. duration: 15
  51. }).jFade({
  52. trigger: "mouseout",
  53. property: 'background',
  54. start: '<%= model.nonCSS.albumBox_color_onhover_ag %>',
  55. end: '<%= model.nonCSS.albumBox_color_ag %>',
  56. steps: 20,
  57. duration: 15
  58. });
  59. });
  60. </script>
  61. <% if model.nonCSS.includeFooter then %>
  62. <script type="text/javascript">
  63. <!--
  64. function printViewportDimensions() {
  65. var viewportwidth = $(window).width();
  66. var viewportheight = window.innerHeight ? window.innerHeight : $(window).height();
  67. $('#wrapper').css('min-height', (viewportheight-<%= model.nonCSS.footerHeight %>) + 'px');
  68. }
  69. printViewportDimensions();
  70. $(function() {
  71. printViewportDimensions();
  72. $(window).resize(function()
  73. {
  74. printViewportDimensions();
  75. });
  76. });
  77. //-->
  78. </script>
  79. <% end %>
  80. <% if model.nonCSS.gridType == 'iconic' then %><% if model.nonCSS.captifyAnimation == 'never' then %><% else %>
  81. <script type="text/javascript">
  82. <!--
  83. $(function(){
  84. $('img.captify').captify({
  85. speedOver: 'fast',
  86. speedOut: 'normal',
  87. hideDelay: 500,
  88. animation: '<%= model.nonCSS.captifyAnimation %>',
  89. prefix: '',
  90. opacity: '0.7',
  91. className: 'caption-<%= model.nonCSS.captifyPosition %>',
  92. position: '<%= model.nonCSS.captifyPosition %>',
  93. spanWidth: '100%'
  94. });
  95. });
  96. //-->
  97. </script>
  98. <% end %><% end %>
  99. <style type="text/css">
  100. <% if mode == "preview" then %>#wrapper { min-height: 100%; }<% end %>
  101. #page_content {
  102. -moz-border-radius: <%= model.nonCSS.page_content_corners %>px;
  103. -webkit-border-radius: <%= model.nonCSS.page_content_corners %>px;
  104. }
  105. .albumBox<% if model.nonCSS.gridType == 'iconic' then %>, .albumBoxContent<% end %> {
  106. background-color: #<%= model.nonCSS.albumBox_color_ag %>;
  107. -moz-border-radius: <%= model.nonCSS.albumBoxCorners %>px;
  108. -webkit-border-radius: <%= model.nonCSS.albumBoxCorners %>px;
  109. }
  110. #inputfields {
  111. -moz-border-radius: <%= model.nonCSS.selectionInputCorners %>px;
  112. -webkit-border-radius: <%= model.nonCSS.selectionInputCorners %>px;
  113. }
  114. <% if model.nonCSS.gridType == 'iconic' then %>
  115. <% if model.nonCSS.captifyAnimation == 'never' then %>
  116. .albumBoxContent, img.captify {
  117. width: <%= math.floor( model.nonCSS.albumBoxWidth - ( model.nonCSS.albumBoxBorderWidth * 2 ) ) %>px;
  118. height: <%= math.floor( model.nonCSS.albumBoxHeight - ( model.nonCSS.albumBoxBorderWidth * 2 ) ) %>px;
  119. }
  120. .albumBoxContent {
  121. padding: 0 !important;
  122. }
  123. img.captify {
  124. opacity: 0; filter:alpha(opacity=0);
  125. }
  126. <% else %>
  127. .caption-top, .caption-bottom {
  128. color: <%= model.nonCSS.albumTitleColor %>;
  129. padding: 0.5em;
  130. font-weight: <%= model.appearance.albumTitle[ 'font-weight' ] %>;
  131. font-size: <%= model.nonCSS.albumTitle_fontsize %>px;
  132. font-family: <%= model.appearance.albumTitle[ 'font-family' ] %>;
  133. border: 0px solid <%= model.nonCSS.albumTitleBorderColor %>;
  134. background: <%= model.nonCSS.albumTitleBGColor %>;
  135. text-shadow: 1px 1px 0 <%= model.nonCSS.albumTitleShadowColor %>;
  136. }
  137. .caption-top {
  138. border-width: 0px 0px <%= model.nonCSS.albumTitle_border %>px 0px;
  139. }
  140. .caption-bottom {
  141. border-width: <%= model.nonCSS.albumTitle_border %>px 0px 0px 0px;
  142. }
  143. .caption a, .caption a {
  144. border: 0 none;
  145. text-decoration: none;
  146. background: #000000;
  147. padding: 0.3em;
  148. }
  149. .caption a:hover, .caption a:hover {
  150. background: #202020;
  151. }
  152. .albumBoxContent, img.captify {
  153. width: <%= math.floor( model.nonCSS.albumBoxWidth - ( model.nonCSS.albumBoxBorderWidth * 2 ) ) %>px;
  154. height: <%= math.floor( model.nonCSS.albumBoxHeight - ( model.nonCSS.albumBoxBorderWidth * 2 ) ) %>px;
  155. }
  156. .albumBoxContent {
  157. padding: 0 !important;
  158. }
  159. img.captify {
  160. opacity: 0; filter:alpha(opacity=0);
  161. }
  162. <% end %><% end %>
  163. </style>
  164. <% if mode == 'publish' then %>
  165. <!-- compliance patch for microsoft browsers -->
  166. <!--[if lt IE 8]>
  167. <script src="http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE8.js" type="text/javascript"></script>
  168. <![endif]-->
  169. <% end %>
  170. <% if mode == 'preview' then %>
  171. <script type="text/javascript">
  172. window.AgMode = "$mode";
  173. window.AgOnLoad = function() {
  174. tellLightroomWhatImagesWeAreUsing();
  175. setActiveImageSize( "<%= mySize %>" );
  176. <% if image then %>
  177. callCallback( "showInPhotoBin", "$image.imageID" );
  178. <% end %>
  179. }
  180. </script>
  181. <script type="text/javascript" src="$theRoot/resources_preview/js/live_update.js"></script>
  182. <% end %>
  183. <%= model.metadata.style.head %>
  184. <%if mode == "publish" then %>
  185. <%= model.metadata.script.head %>
  186. <% end %>
  187. </head>
  188. <body id="about">
  189. <% --[[ Include the page header]] %>
  190. <%
  191. --[[ Define some variables to make locating other resources easier
  192. firstPage was defined in our manifest.]]
  193. local theRoot = "."
  194. %>
  195. <div id="wrapper">
  196. <% if model.nonCSS.idplateLocation == "header" then %>
  197. <div id="header_container">
  198. <div id="header"<% if model.nonCSS.fixHeaderWidth then %> style="width: <%= model.nonCSS.fixedHeaderWidth %>px !important;"<% end %>>
  199. <h1<% if model.nonCSS.idplate then %> style="background-image: url(<% if model.nonCSS.shareResources then %><%= model.nonCSS.pathToResources %>images/idplate.png<% else %>$theRoot/resources/images/idplate.png<% end %>); background-repeat: no-repeat; background-position: <%= model.nonCSS.idplate_X %>% <%= model.nonCSS.idplate_Y %>%;"<% end %>><a href="$model.metadata.headerlink.value"><span>$model.metadata.htmlTitle.value</span></a></h1>
  200. </div> <!-- /header -->
  201. </div>
  202. <div id="menu">
  203. <div id="menuContent"<% if model.nonCSS.fixHeaderWidth then %> style="width: <%= model.nonCSS.fixedHeaderWidth %>px !important;"<% end %>>
  204. <p style="margin-left: <%= model.nonCSS.menuPaddingLeft %>px !important; margin-right: <%= model.nonCSS.menuPaddingRight %>px !important;"><% if model.nonCSS.menuItem1 then %><a href="$model.metadata.menuItem1.link" id="metadata.menuItem1.value" style="padding-left: 0 !important;">$model.metadata.menuItem1.value</a> <%= model.metadata.menuDivider.value %> <% end %><% if model.nonCSS.menuItem2 then %><a href="<% if mode == 'preview' then %>galleryindex.html<% else %>galleryindex.php<% end %>" id="metadata.menuItem2.value">$model.metadata.menuItem2.value</a> <%= model.metadata.menuDivider.value %> <% end %><% if model.nonCSS.menuItem3 then %><a href="$model.metadata.menuItem3.link" id="metadata.menuItem3.value">$model.metadata.menuItem3.value</a> <%= model.metadata.menuDivider.value %> <% end %><% if model.nonCSS.menuItem4 then %><a href="$model.metadata.menuItem4.link" id="metadata.menuItem4.value">$model.metadata.menuItem4.value</a> <%= model.metadata.menuDivider.value %> <% end %><% if model.nonCSS.menuItem5 then %><a href="$model.metadata.menuItem5.link" id="metadata.menuItem5.value">$model.metadata.menuItem5.value</a> <%= model.metadata.menuDivider.value %> <% end %><%= model.metadata.customMenu.value %><a href="$model.metadata.contact.link" id="metadata.contact.value" style="padding-right: 0 !important;">$model.metadata.contact.value</a></p>
  205. </div>
  206. </div> <!-- /menu -->
  207. <% elseif model.nonCSS.idplateLocation == "menu" then %>
  208. <div id="header_container">
  209. <div id="header"<% if model.nonCSS.fixHeaderWidth then %> style="width: <%= model.nonCSS.fixedHeaderWidth %>px !important;"<% end %>>
  210. </div> <!-- /header -->
  211. </div>
  212. <div id="menu">
  213. <div id="menuContent" <% if model.nonCSS.idplate then %>
  214. style="<% if model.nonCSS.fixHeaderWidth then %>width: <%= model.nonCSS.fixedHeaderWidth %>px !important; <% end %>background-image: url(<% if model.nonCSS.shareResources then %><%= model.nonCSS.pathToResources %>images/idplate.png<% else %>$theRoot/resources/images/idplate.png<% end %>); background-repeat: no-repeat; background-position: <%= model.nonCSS.idplate_X %>% <%= model.nonCSS.idplate_Y %>%;"<% end %>>
  215. <p style="margin-left: <%= model.nonCSS.menuPaddingLeft %>px !important; margin-right: <%= model.nonCSS.menuPaddingRight %>px !important;"><% if model.nonCSS.menuItem1 then %><a href="$model.metadata.menuItem1.link" id="metadata.menuItem1.value" style="padding-left: 0 !important;">$model.metadata.menuItem1.value</a> <%= model.metadata.menuDivider.value %> <% end %><% if model.nonCSS.menuItem2 then %><a href="<% if mode == 'preview' then %>galleryindex.html<% else %>galleryindex.php<% end %>" id="metadata.menuItem2.value">$model.metadata.menuItem2.value</a> <%= model.metadata.menuDivider.value %> <% end %><% if model.nonCSS.menuItem3 then %><a href="$model.metadata.menuItem3.link" id="metadata.menuItem3.value">$model.metadata.menuItem3.value</a> <%= model.metadata.menuDivider.value %> <% end %><% if model.nonCSS.menuItem4 then %><a href="$model.metadata.menuItem4.link" id="metadata.menuItem4.value">$model.metadata.menuItem4.value</a> <%= model.metadata.menuDivider.value %> <% end %><% if model.nonCSS.menuItem5 then %><a href="$model.metadata.menuItem5.link" id="metadata.menuItem5.value">$model.metadata.menuItem5.value</a> <%= model.metadata.menuDivider.value %> <% end %><%= model.metadata.customMenu.value %><a href="$model.metadata.contact.link" id="metadata.contact.value" style="padding-right: 0 !important;">$model.metadata.contact.value</a></p>
  216. </div>
  217. </div> <!-- /menu -->
  218. <% elseif model.nonCSS.idplateLocation == "beneath" then %>
  219. <div id="menu" style="margin-bottom: 0 !important;">
  220. <div id="menuContent"<% if model.nonCSS.fixHeaderWidth then %> style="width: <%= model.nonCSS.fixedHeaderWidth %>px !important;"<% end %>>
  221. <p style="margin-left: <%= model.nonCSS.menuPaddingLeft %>px !important; margin-right: <%= model.nonCSS.menuPaddingRight %>px !important;"><% if model.nonCSS.menuItem1 then %><a href="$model.metadata.menuItem1.link" id="metadata.menuItem1.value" style="padding-left: 0 !important;">$model.metadata.menuItem1.value</a> <%= model.metadata.menuDivider.value %> <% end %><% if model.nonCSS.menuItem2 then %><a href="<% if mode == 'preview' then %>galleryindex.html<% else %>galleryindex.php<% end %>" id="metadata.menuItem2.value">$model.metadata.menuItem2.value</a> <%= model.metadata.menuDivider.value %> <% end %><% if model.nonCSS.menuItem3 then %><a href="$model.metadata.menuItem3.link" id="metadata.menuItem3.value">$model.metadata.menuItem3.value</a> <%= model.metadata.menuDivider.value %> <% end %><% if model.nonCSS.menuItem4 then %><a href="$model.metadata.menuItem4.link" id="metadata.menuItem4.value">$model.metadata.menuItem4.value</a> <%= model.metadata.menuDivider.value %> <% end %><% if model.nonCSS.menuItem5 then %><a href="$model.metadata.menuItem5.link" id="metadata.menuItem5.value">$model.metadata.menuItem5.value</a> <%= model.metadata.menuDivider.value %> <% end %><%= model.metadata.customMenu.value %><a href="$model.metadata.contact.link" id="metadata.contact.value" style="padding-right: 0 !important;">$model.metadata.contact.value</a></p>
  222. </div>
  223. </div> <!-- /menu -->
  224. <div id="header_container">
  225. <div id="header"<% if model.nonCSS.fixHeaderWidth then %> style="width: <%= model.nonCSS.fixedHeaderWidth %>px !important;"<% end %>>
  226. <h1<% if model.nonCSS.idplate then %> style="background-image: url(<% if model.nonCSS.shareResources then %><%= model.nonCSS.pathToResources %>images/idplate.png<% else %>$theRoot/resources/images/idplate.png<% end %>); background-repeat: no-repeat; background-position: <%= model.nonCSS.idplate_X %>% <%= model.nonCSS.idplate_Y %>%;"<% end %>><a href="$model.metadata.headerlink.value"><span>$model.metadata.htmlTitle.value</span></a></h1>
  227. </div> <!-- /header -->
  228. </div>
  229. <% end %>
  230. <div id="gallery">
  231. <% if model.nonCSS.aboutConfiguration == "imageleftcopyright" then %>
  232. <div id="page_content" class="about">
  233. <% if model.nonCSS.about_stage then %>
  234. <style type="text/css">
  235. #about_frame { float: left; }
  236. </style>
  237. <% if model.nonCSS.about_galleryType == "none" then %>
  238. <div id="about_frame">
  239. <div id="about_flashcontent">
  240. <p style="margin: 0 !important; padding: 10px !important;">You have chosen to replace this image with a Flash gallery. Please select a Gallery Type from the Appearance pane so that we can properly prepare the stage for your gallery.</p>
  241. </div>
  242. </div>
  243. <% elseif model.nonCSS.about_galleryType == "autoviewer" then %>
  244. <% if mode == 'preview' then %>
  245. <div id="about_frame">
  246. <div id="about_flashcontent">
  247. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  248. <p><strong>Setup Instructions</strong></p>
  249. <p>Export an Autoviewer gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-autoviewer/">TTG Autoviewer</a> or Airtight Autoviewer web engine. Name the export folder "about_autoviewer" and copy it into the exported TTG Pages folder.</p>
  250. </div>
  251. </div>
  252. </div>
  253. <% else %>
  254. <div id="about_frame">
  255. <div id="about_flashcontent"></div>
  256. <script language="JavaScript">
  257. var flashvars = {
  258. // langOpenImage: "Open Image in New Window",
  259. // langAbout: "About",
  260. xmlURL: "gallery.xml"
  261. }
  262. var params = {
  263. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  264. scale: "noscale",
  265. base: "about_autoviewer/"
  266. }
  267. var attributes = {
  268. }
  269. swfobject.embedSWF("about_autoviewer/viewer.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
  270. </script>
  271. </div>
  272. <% end %>
  273. <% elseif model.nonCSS.about_galleryType == "dimin" then %>
  274. <% if mode == 'preview' then %>
  275. <div id="about_frame">
  276. <div id="about_flashcontent">
  277. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  278. <p><strong>Setup Instructions</strong></p>
  279. <p>Export a gallery using the <a href="http://dimin.m6.net/software/lightroom/">DIMIN Slideshow</a> web engine. Name the export folder "about_dimin" and copy it into the exported TTG Pages folder.</p>
  280. </div>
  281. </div>
  282. </div>
  283. <% else %>
  284. <div id="about_frame">
  285. <div id="about_flashcontent">DIMIN Slideshow requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash here.</a></div>
  286. <script language="JavaScript">
  287. var flashvars = {
  288. width: "<%= model.nonCSS.about_gallery_width %>",
  289. height: "<%= model.nonCSS.about_gallery_height %>",
  290. file: "slideshow.xml"
  291. }
  292. var params = {
  293. allowfullscreen: "true",
  294. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  295. base: "about_dimin/"
  296. }
  297. var attributes = {
  298. }
  299. swfobject.embedSWF("about_dimin/imagerotator.swf", "about_flashcontent", "<%= model.nonCSS.about_gallery_width %>", "<%= model.nonCSS.about_gallery_height %>", "7", false, flashvars, params, attributes);
  300. </script>
  301. </div>
  302. <% end %>
  303. <% elseif model.nonCSS.about_galleryType == "flashnifties" then %>
  304. <% if mode == 'preview' then %>
  305. <div id="about_frame">
  306. <div id="about_flashcontent">
  307. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  308. <p><strong>Setup Instructions</strong></p>
  309. <p>Export a gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-flashnifties/">TTG Flashnifties</a> web engine. Name the export folder "about_flashnifties" and copy it into the exported TTG Pages folder.</p>
  310. </div>
  311. </div>
  312. </div>
  313. <% else %>
  314. <div id="about_frame">
  315. <div id="about_flashcontent">This gallery requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  316. <script language="JavaScript">
  317. var flashvars = {
  318. }
  319. var params = {
  320. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  321. base: "about_flashnifties/"
  322. }
  323. var attributes = {
  324. }
  325. swfobject.embedSWF("about_flashnifties/xmlGallery.swf", "about_flashcontent", "100%", "100%", "6", false, flashvars, params, attributes);
  326. </script>
  327. </div>
  328. <% end %>
  329. <% elseif model.nonCSS.about_galleryType == "flickr" then %>
  330. <% if mode == 'preview' then %>
  331. <div id="about_frame">
  332. <div id="about_flashcontent">
  333. <div id="flickr" style="padding:1em;font-size:11px;line-height:17px;">
  334. <p><strong>Flickr Setup</strong></p>
  335. <p>Input your Flickr username and the ID number of the Flickr Set you wish to display into the "Flickr Username" and "Flickr Set ID" fields, respectively.</p>
  336. <p>To get the Flickr Set ID, visit your set on Flickr. The URL for the set will look like this: http://www.flickr.com/photos/username/sets/<span style="color:#f00 !important;">#################</span>/.</p>
  337. <p>The number, shown here in red, is the set ID. Copy and paste that number into the "Flickr Set ID" field in the Appearance pane.</p>
  338. <p>TTG Stage will only display <strong>sets</strong>, not collections, nor photostreams. The gallery will not display here in the LR preview, but will appear in the exported gallery, or when previewed in a browser.</p>
  339. <p>The URL that will be displayed in your gallery is:</p>
  340. <p><a href="http://www.flickr.com/photos/<%=model.nonCSS.about_flickrUser %>/sets/<%= model.nonCSS.about_flickrSet %>/">http://www.flickr.com/photos/<%=model.nonCSS.about_flickrUser %>/sets/<%= model.nonCSS.about_flickrSet %>/</a></p>
  341. <p>Check that the URL is correct by clicking on it and verifying its destination.</p>
  342. </div>
  343. </div>
  344. </div>
  345. <% else %>
  346. <div id="about_frame">
  347. <div id="about_flashcontent">Flash is required to view this gallery. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  348. <script language="JavaScript">
  349. var flashvars = {
  350. offsite: "true",
  351. lang: "en-us",
  352. page_show_url: "/photos/<%= model.nonCSS.about_flickrUser %>/sets/<%= model.nonCSS.about_flickrSet %>/show/",
  353. set_id: "<%= model.nonCSS.about_flickrSet %>",
  354. page_show_back_url: "/photos/<%= model.nonCSS.about_flickrUser %>/sets/<%= model.nonCSS.about_flickrSet %>/",
  355. jump_to: ""
  356. }
  357. var params = {
  358. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  359. allowfullscreen: "true"
  360. }
  361. var attributes = {
  362. }
  363. swfobject.embedSWF("http://www.flickr.com/apps/slideshow/show.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
  364. </script>
  365. </div>
  366. <% end %>
  367. <% elseif model.nonCSS.about_galleryType == "lightroomflashgallery" then %>
  368. <% if mode == 'preview' then %>
  369. <div id="about_frame">
  370. <div id="about_flashcontent">
  371. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  372. <p><strong>Setup Instructions</strong></p>
  373. <p>Export a gallery using the Lightroom Flash Gallery web engine. Name the export folder "about_lightroomflashgallery" and copy it into the exported TTG Pages folder.</p>
  374. </div>
  375. </div>
  376. </div>
  377. <% else %>
  378. <div id="about_frame">
  379. <div id="about_flashcontent">
  380. <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
  381. width="100%" height="100%"
  382. codebase="http://download.macromedia.com/pub/shockwave/
  383. cabs/flash/swflash.cab">
  384. <param name="movie" value="about_lightroomflashgallery/resources/gallery.swf"/>
  385. <param name="flashvars"
  386. value="livePreview=false
  387. &baseRefUrl=about_lightroomflashgallery/
  388. &groupxml=resources/mediaGroupData/group.xml
  389. &stylexml=resources/styles/style.xml
  390. &localText=resources/localization/localText.xml"/>
  391. <param name="id" value="gallery"/>
  392. <param name="quality" value="high"/>
  393. <param name="align" value="middle"/>
  394. <param name="name" value="gallery"/>
  395. <param name="bgcolor" value="#f7f7f7"/>
  396. <param name="allowScriptAccess" value="sameDomain"/>
  397. <param name="menu" value="true"/>
  398. <embed src="about_lightroomflashgallery/resources/gallery.swf"
  399. type="application/x-shockwave-flash"
  400. pluginspage="http://www.macromedia.com/go/getflashplayer"
  401. flashvars="livePreview=false
  402. &baseRefUrl=about_lightroomflashgallery/
  403. &groupxml=resources/mediaGroupData/group.xml
  404. &stylexml=resources/styles/style.xml
  405. &localText=resources/localization/localText.xml"
  406. width="100%" height="100%" quality="high" align="middle"
  407. allowScriptAccess="sameDomain">
  408. </embed>
  409. </object>
  410. </div>
  411. </div>
  412. <% end %>
  413. <% elseif model.nonCSS.about_galleryType == "monoslideshow" then %>
  414. <% if mode == 'preview' then %>
  415. <div id="about_frame">
  416. <div id="about_flashcontent">
  417. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  418. <p><strong>Setup Instructions</strong></p>
  419. <p>Export a gallery using the (discontinued) TTG MonoSlideshow web engine, or create a Monoslideshow gallery on your own. Name the export folder "about_monoslideshow" and copy it into the exported TTG Pages folder.</p>
  420. </div>
  421. </div>
  422. </div>
  423. <% else %>
  424. <div id="about_frame">
  425. <div id="about_flashcontent">
  426. <p><strong>Please install Flash® and turn on Javascript.</strong></p>
  427. </div>
  428. <script language="JavaScript">
  429. var flashvars = {
  430. showLogo: "false"
  431. }
  432. var params = {
  433. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  434. base: "about_monoslideshow/"
  435. }
  436. var attributes = {
  437. }
  438. swfobject.embedSWF("about_monoslideshow/monoslideshow.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
  439. </script>
  440. </div>
  441. <% end %>
  442. <% elseif model.nonCSS.about_galleryType == "monoslideshow2" then %>
  443. <% if mode == 'preview' then %>
  444. <div id="about_frame">
  445. <div id="about_flashcontent">
  446. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  447. <p><strong>Setup Instructions</strong></p>
  448. <p>Export a gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-monoslideshow/">TTG MonoSlideshow</a> web engine. Name the export folder "about_monoslideshow" and copy it into the exported TTG Pages folder.</p>
  449. </div>
  450. </div>
  451. </div>
  452. <% else %>
  453. <div id="about_frame">
  454. <div id="about_flashcontent">
  455. <p>Please <a href="http://get.adobe.com/flashplayer/">install Flash®</a> and turn on Javascript.</p>
  456. </div>
  457. <script type="text/javascript">
  458. var flashvars = {showLogo: "false", showRegistration: "false"};
  459. var params = {allowScriptAccess: "sameDomain", allowfullscreen: "true", allowNetworking: "all", base: "about_monoslideshow/"};
  460. var attributes = {id: "monoslideshow", name: "monoslideshow", bgColor: "<%= model.nonCSS.about_stageBGC %>"};
  461. swfobject.embedSWF("about_monoslideshow/monoslideshow.swf", "about_flashcontent", "100%", "100%", "9", false, flashvars, params, attributes);
  462. </script>
  463. </div>
  464. <% end %>
  465. <% elseif model.nonCSS.about_galleryType == "polaroid" then %>
  466. <% if mode == 'preview' then %>
  467. <div id="about_frame">
  468. <div id="about_flashcontent">
  469. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  470. <p><strong>Setup Instructions</strong></p>
  471. <p>Export a gallery using the <a style="color:#e5a638 !important;" href="http://lightroom.theturninggate.net/flash-galleries/ttg-polaroid-gallery/">TTG Polaroid Gallery</a> web engine. Name the export folder "about_polaroid" and copy it into the exported TTG Pages folder.</p>
  472. </div>
  473. </div>
  474. </div>
  475. <% else %>
  476. <div id="about_frame">
  477. <div id="about_flashcontent">This gallery requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  478. <script language="JavaScript">
  479. var flashvars = {
  480. xmlURL: "photos.xml"
  481. }
  482. var params = {
  483. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  484. base: "about_polaroid/"
  485. }
  486. var attributes = {
  487. }
  488. swfobject.embedSWF("about_polaroid/polaroid.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
  489. </script>
  490. </div>
  491. <% end %>
  492. <% elseif model.nonCSS.about_galleryType == "postcardviewer" then %>
  493. <% if mode == 'preview' then %>
  494. <div id="about_frame">
  495. <div id="about_flashcontent">
  496. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  497. <p><strong>Setup Instructions</strong></p>
  498. <p>Export a PostcardViewer gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-postcardviewer/">TTG PostcardViewer</a> or Airtight PostcardViewer web engine. Name the export folder "about_postcardviewer" and copy it into the exported TTG Pages folder.</p>
  499. </div>
  500. </div>
  501. </div>
  502. <% else %>
  503. <div id="about_frame">
  504. <div id="about_flashcontent">PostcardViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash here.</a> </div>
  505. <script language="JavaScript">
  506. var flashvars = {
  507. // langOpenImage: "Open Image in New Window",
  508. // langAbout: "About",
  509. xmlURL: "gallery.xml"
  510. }
  511. var params = {
  512. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  513. base: "about_postcardviewer/"
  514. }
  515. var attributes = {
  516. }
  517. swfobject.embedSWF("about_postcardviewer/viewer.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
  518. </script>
  519. </div>
  520. <% end %>
  521. <% elseif model.nonCSS.about_galleryType == "simpleviewer" then %>
  522. <% if mode == 'preview' then %>
  523. <div id="about_frame">
  524. <div id="about_flashcontent">
  525. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  526. <p><strong>Setup Instructions</strong></p>
  527. <p>Export a Simpleviewer gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-simpleviewer/">TTG Simpleviewer</a> or Airtight Simpleviewer web engine. Name the export folder "about_simpleviewer" and copy it into the exported TTG Pages folder.</p>
  528. </div>
  529. </div>
  530. </div>
  531. <% else %>
  532. <div id="about_frame">
  533. <div id="about_flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  534. <script language="JavaScript">
  535. var flashvars = {
  536. // langOpenImage: "Open Image in New Window",
  537. // langAbout: "About",
  538. preloaderColor: "0xffffff",
  539. xmlDataPath: "gallery.xml"
  540. }
  541. var params = {
  542. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  543. base: "about_simpleviewer/"
  544. }
  545. var attributes = {
  546. }
  547. swfobject.embedSWF("about_simpleviewer/viewer.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
  548. </script>
  549. </div>
  550. <% end %>
  551. <% elseif model.nonCSS.about_galleryType == "simpleviewer2" then %>
  552. <% if mode == 'preview' then %>
  553. <div id="about_frame">
  554. <div id="about_flashcontent">
  555. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  556. <p><strong>Setup Instructions</strong></p>
  557. <p>Export a Simpleviewer gallery using the <a style="color:#e5a638 !important;" href="http://lightroom.theturninggate.net/flash-galleries/ttg-simpleviewer/">TTG Simpleviewer-2</a> web engine. Name the export folder "about_simpleviewer" and copy it into the exported TTG Stage folder.</p>
  558. </div>
  559. </div>
  560. </div>
  561. <% else %>
  562. <div id="about_frame">
  563. <div id="about_flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  564. <script type="text/javascript">
  565. var flashvars = {};
  566. flashvars.baseURL="about_simpleviewer/";
  567. flashvars.galleryURL = "gallery.xml";
  568. var params = {};
  569. params.allowfullscreen = true;
  570. params.allowscriptaccess = "always";
  571. params.bgcolor = "<%= model.nonCSS.about_stageBGC %>";
  572. swfobject.embedSWF("about_simpleviewer/simpleviewer.swf", "about_flashcontent", "100%", "100%", "9.0.124", false, flashvars, params);
  573. </script>
  574. </div>
  575. <% end %>
  576. <% elseif model.nonCSS.about_galleryType == "slideshowpro" then %>
  577. <% if mode == 'preview' then %>
  578. <div id="about_frame">
  579. <div id="about_flashcontent">
  580. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  581. <p><strong>Setup Instructions</strong></p>
  582. <p>Export a gallery using the <a href="http://www.slideshowpro.net">Slideshow Pro</a> web engine. Name the export folder "about_slideshowpro" and copy it into the exported TTG Pages folder.</p>
  583. </div>
  584. </div>
  585. </div>
  586. <% else %>
  587. <div id="about_frame">
  588. <div id="about_flashcontent">
  589. This SlideShowPro photo gallery requires the Flash Player plugin and a web browser with JavaScript enabled.
  590. </div>
  591. <script language="JavaScript">
  592. <!--
  593. // Permalinks option
  594. function flashPutHref(href) { location.href = href; }
  595. // Expand browser option
  596. var eB = false;
  597. if (eB) {
  598. window.moveTo(0,0);
  599. window.resizeTo (screen.availWidth, screen.availHeight);
  600. }
  601. // swffit sizing
  602. var swf_pad = 20;
  603. function initSwffit(w,h) {
  604. // If you change name of the DIV the SWF is written at,
  605. // change 'flashcontent' to the name of your DIV.
  606. swffit.fit('about_flashcontent',w+swf_pad,h+swf_pad);
  607. }
  608. // SWFObject embed
  609. var flashvars = {
  610. paramXMLPath: "param.xml",
  611. initialURL: escape(document.location)
  612. }
  613. var params = {
  614. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  615. allowfullscreen: "true",
  616. base: "about_slideshowpro/"
  617. }
  618. var attributes = {}
  619. swfobject.embedSWF("about_slideshowpro/loader.swf", "about_flashcontent", "100%", "100%", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
  620. /* below required for google chrome embed issue */
  621. swffit.fit('about_flashcontent',0,0);
  622. -->
  623. </script>
  624. </div> <!-- /frame -->
  625. <% end %>
  626. <% end %>
  627. <% else %>
  628. <img src="photos/<%= getImage(2).exportFilename %>.jpg" class="page_img" width="<%= getImage(2).renditions.photos.width %>" height="<%= getImage(2).renditions.photos.height %>" alt="<%= getImage(2).metadata.alt %>" style="float:left;" />
  629. <% end %>
  630. <% if model.nonCSS.about_stage then %>
  631. <div class="copy" style="float:right; width: <%= math.floor( model.nonCSS.aboutWidth - ( model.nonCSS.page_content_padding * 2 ) - ( model.nonCSS.page_content_border * 2 ) - model.nonCSS.spacing - model.nonCSS.about_stage_width ) %>px;">
  632. <% else %>
  633. <div class="copy" style="float:right; width: <%= math.floor( model.nonCSS.aboutWidth - ( model.nonCSS.page_content_padding * 2 ) - ( model.nonCSS.page_content_border * 2 ) - model.nonCSS.spacing - ( ( model.nonCSS.imagePadding + model.nonCSS.imageBorderWidth ) * 2 ) - getImage(2).renditions.photos.width ) %>px;">
  634. <% end %>
  635. <% if model.nonCSS.includeAboutHeading1 then %><h2 id="metadata.aboutHeading1.value" class="first heading heading_about"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutHeading1.value');"<% end %>>$model.metadata.aboutHeading1.value</h2><% end %>
  636. <% if model.nonCSS.includeAboutParagraph1 then %><p id="nonCSS.aboutParagraph1.value"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutParagraph1.value');"<% end %>>$model.metadata.aboutParagraph1.value</p><% end %>
  637. <% if model.nonCSS.includeAboutHeading2 then %><h2 id="metadata.aboutHeading2.value" class="subsequent heading heading_about"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutHeading2.value');"<% end %>>$model.metadata.aboutHeading2.value</h2><% end %>
  638. <% if model.nonCSS.includeAboutParagraph2 then %><p id="nonCSS.aboutParagraph2.value"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutParagraph2.value');"<% end %>>$model.metadata.aboutParagraph2.value</p><% end %>
  639. <% if model.nonCSS.includeAboutHeading3 then %><h2 id="metadata.aboutHeading3.value" class="subsequent heading heading_about"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutHeading3.value');"<% end %>>$model.metadata.aboutHeading3.value</h2><% end %>
  640. <% if model.nonCSS.includeAboutParagraph3 then %><p id="nonCSS.aboutParagraph3.value"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutParagraph3.value');"<% end %>>$model.metadata.aboutParagraph3.value</p><% end %>
  641. <% if model.nonCSS.includeAboutHeading4 then %><h2 id="metadata.aboutHeading4.value" class="subsequent heading heading_about"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutHeading4.value');"<% end %>>$model.metadata.aboutHeading4.value</h2><% end %>
  642. <% if model.nonCSS.includeAboutParagraph4 then %><p id="nonCSS.aboutParagraph4.value"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutParagraph4.value');"<% end %>>$model.metadata.aboutParagraph4.value</p><% end %>
  643. <% if model.nonCSS.includeAboutHeading5 then %><h2 id="metadata.aboutHeading5.value" class="subsequent heading heading_about"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutHeading5.value');"<% end %>>$model.metadata.aboutHeading5.value</h2><% end %>
  644. <% if model.nonCSS.includeAboutParagraph5 then %><p id="nonCSS.aboutParagraph5.value"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutParagraph5.value');"<% end %>>$model.metadata.aboutParagraph5.value</p><% end %>
  645. </div>
  646. <div class="clear"></div>
  647. </div> <!-- /page_content home -->
  648. <% elseif model.nonCSS.aboutConfiguration == "copyleftimageright" then %>
  649. <div id="page_content" class="about">
  650. <% if model.nonCSS.about_stage then %>
  651. <style type="text/css">
  652. #about_frame { float: right; }
  653. </style>
  654. <% if model.nonCSS.about_galleryType == "none" then %>
  655. <div id="about_frame">
  656. <div id="about_flashcontent">
  657. <p style="margin: 0 !important;">You have chosen to replace this image with a Flash gallery. Please select a Gallery Type from the Appearance pane so that we can properly prepare the stage for your gallery.</p>
  658. </div>
  659. </div>
  660. <% elseif model.nonCSS.about_galleryType == "autoviewer" then %>
  661. <% if mode == 'preview' then %>
  662. <div id="about_frame">
  663. <div id="about_flashcontent">
  664. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  665. <p><strong>Setup Instructions</strong></p>
  666. <p>Export an Autoviewer gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-autoviewer/">TTG Autoviewer</a> or Airtight Autoviewer web engine. Name the export folder "about_autoviewer" and copy it into the exported TTG Pages folder.</p>
  667. </div>
  668. </div>
  669. </div>
  670. <% else %>
  671. <div id="about_frame">
  672. <div id="about_flashcontent"></div>
  673. <script language="JavaScript">
  674. var flashvars = {
  675. // langOpenImage: "Open Image in New Window",
  676. // langAbout: "About",
  677. xmlURL: "gallery.xml"
  678. }
  679. var params = {
  680. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  681. scale: "noscale",
  682. base: "about_autoviewer/"
  683. }
  684. var attributes = {
  685. }
  686. swfobject.embedSWF("about_autoviewer/viewer.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
  687. </script>
  688. </div>
  689. <% end %>
  690. <% elseif model.nonCSS.about_galleryType == "dimin" then %>
  691. <% if mode == 'preview' then %>
  692. <div id="about_frame">
  693. <div id="about_flashcontent">
  694. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  695. <p><strong>Setup Instructions</strong></p>
  696. <p>Export a gallery using the <a href="http://dimin.m6.net/software/lightroom/">DIMIN Slideshow</a> web engine. Name the export folder "about_dimin" and copy it into the exported TTG Pages folder.</p>
  697. </div>
  698. </div>
  699. </div>
  700. <% else %>
  701. <div id="about_frame">
  702. <div id="about_flashcontent">DIMIN Slideshow requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash here.</a></div>
  703. <script language="JavaScript">
  704. var flashvars = {
  705. width: "<%= model.nonCSS.about_gallery_width %>",
  706. height: "<%= model.nonCSS.about_gallery_height %>",
  707. file: "slideshow.xml"
  708. }
  709. var params = {
  710. allowfullscreen: "true",
  711. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  712. base: "about_dimin/"
  713. }
  714. var attributes = {
  715. }
  716. swfobject.embedSWF("about_dimin/imagerotator.swf", "about_flashcontent", "<%= model.nonCSS.about_gallery_width %>", "<%= model.nonCSS.about_gallery_height %>", "7", false, flashvars, params, attributes);
  717. </script>
  718. </div>
  719. <% end %>
  720. <% elseif model.nonCSS.about_galleryType == "flashnifties" then %>
  721. <% if mode == 'preview' then %>
  722. <div id="about_frame">
  723. <div id="about_flashcontent">
  724. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  725. <p><strong>Setup Instructions</strong></p>
  726. <p>Export a gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-flashnifties/">TTG Flashnifties</a> web engine. Name the export folder "about_flashnifties" and copy it into the exported TTG Pages folder.</p>
  727. </div>
  728. </div>
  729. </div>
  730. <% else %>
  731. <div id="about_frame">
  732. <div id="about_flashcontent">This gallery requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  733. <script language="JavaScript">
  734. var flashvars = {
  735. }
  736. var params = {
  737. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  738. base: "about_flashnifties/"
  739. }
  740. var attributes = {
  741. }
  742. swfobject.embedSWF("about_flashnifties/xmlGallery.swf", "about_flashcontent", "100%", "100%", "6", false, flashvars, params, attributes);
  743. </script>
  744. </div>
  745. <% end %>
  746. <% elseif model.nonCSS.about_galleryType == "flickr" then %>
  747. <% if mode == 'preview' then %>
  748. <div id="about_frame">
  749. <div id="about_flashcontent">
  750. <div id="flickr" style="padding:1em;font-size:11px;line-height:17px;">
  751. <p><strong>Flickr Setup</strong></p>
  752. <p>Input your Flickr username and the ID number of the Flickr Set you wish to display into the "Flickr Username" and "Flickr Set ID" fields, respectively.</p>
  753. <p>To get the Flickr Set ID, visit your set on Flickr. The URL for the set will look like this: http://www.flickr.com/photos/username/sets/<span style="color:#f00 !important;">#################</span>/.</p>
  754. <p>The number, shown here in red, is the set ID. Copy and paste that number into the "Flickr Set ID" field in the Appearance pane.</p>
  755. <p>TTG Stage will only display <strong>sets</strong>, not collections, nor photostreams. The gallery will not display here in the LR preview, but will appear in the exported gallery, or when previewed in a browser.</p>
  756. <p>The URL that will be displayed in your gallery is:</p>
  757. <p><a href="http://www.flickr.com/photos/<%=model.nonCSS.about_flickrUser %>/sets/<%= model.nonCSS.about_flickrSet %>/">http://www.flickr.com/photos/<%=model.nonCSS.about_flickrUser %>/sets/<%= model.nonCSS.about_flickrSet %>/</a></p>
  758. <p>Check that the URL is correct by clicking on it and verifying its destination.</p>
  759. </div>
  760. </div>
  761. </div>
  762. <% else %>
  763. <div id="about_frame">
  764. <div id="about_flashcontent">Flash is required to view this gallery. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  765. <script language="JavaScript">
  766. var flashvars = {
  767. offsite: "true",
  768. lang: "en-us",
  769. page_show_url: "/photos/<%= model.nonCSS.about_flickrUser %>/sets/<%= model.nonCSS.about_flickrSet %>/show/",
  770. set_id: "<%= model.nonCSS.about_flickrSet %>",
  771. page_show_back_url: "/photos/<%= model.nonCSS.about_flickrUser %>/sets/<%= model.nonCSS.about_flickrSet %>/",
  772. jump_to: ""
  773. }
  774. var params = {
  775. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  776. allowfullscreen: "true"
  777. }
  778. var attributes = {
  779. }
  780. swfobject.embedSWF("http://www.flickr.com/apps/slideshow/show.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
  781. </script>
  782. </div>
  783. <% end %>
  784. <% elseif model.nonCSS.about_galleryType == "lightroomflashgallery" then %>
  785. <% if mode == 'preview' then %>
  786. <div id="about_frame">
  787. <div id="about_flashcontent">
  788. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  789. <p><strong>Setup Instructions</strong></p>
  790. <p>Export a gallery using the Lightroom Flash Gallery web engine. Name the export folder "about_lightroomflashgallery" and copy it into the exported TTG Pages folder.</p>
  791. </div>
  792. </div>
  793. </div>
  794. <% else %>
  795. <div id="about_frame">
  796. <div id="about_flashcontent">
  797. <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
  798. width="100%" height="100%"
  799. codebase="http://download.macromedia.com/pub/shockwave/
  800. cabs/flash/swflash.cab">
  801. <param name="movie" value="about_lightroomflashgallery/resources/gallery.swf"/>
  802. <param name="flashvars"
  803. value="livePreview=false
  804. &baseRefUrl=about_lightroomflashgallery/
  805. &groupxml=resources/mediaGroupData/group.xml
  806. &stylexml=resources/styles/style.xml
  807. &localText=resources/localization/localText.xml"/>
  808. <param name="id" value="gallery"/>
  809. <param name="quality" value="high"/>
  810. <param name="align" value="middle"/>
  811. <param name="name" value="gallery"/>
  812. <param name="bgcolor" value="#f7f7f7"/>
  813. <param name="allowScriptAccess" value="sameDomain"/>
  814. <param name="menu" value="true"/>
  815. <embed src="about_lightroomflashgallery/resources/gallery.swf"
  816. type="application/x-shockwave-flash"
  817. pluginspage="http://www.macromedia.com/go/getflashplayer"
  818. flashvars="livePreview=false
  819. &baseRefUrl=about_lightroomflashgallery/
  820. &groupxml=resources/mediaGroupData/group.xml
  821. &stylexml=resources/styles/style.xml
  822. &localText=resources/localization/localText.xml"
  823. width="100%" height="100%" quality="high" align="middle"
  824. allowScriptAccess="sameDomain">
  825. </embed>
  826. </object>
  827. </div>
  828. </div>
  829. <% end %>
  830. <% elseif model.nonCSS.about_galleryType == "monoslideshow" then %>
  831. <% if mode == 'preview' then %>
  832. <div id="about_frame">
  833. <div id="about_flashcontent">
  834. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  835. <p><strong>Setup Instructions</strong></p>
  836. <p>Export a gallery using the (discontinued) TTG MonoSlideshow web engine, or create a Monoslideshow gallery on your own. Name the export folder "about_monoslideshow" and copy it into the exported TTG Pages folder.</p>
  837. </div>
  838. </div>
  839. </div>
  840. <% else %>
  841. <div id="about_frame">
  842. <div id="about_flashcontent">
  843. <p><strong>Please install Flash® and turn on Javascript.</strong></p>
  844. </div>
  845. <script language="JavaScript">
  846. var flashvars = {
  847. showLogo: "false"
  848. }
  849. var params = {
  850. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  851. base: "about_monoslideshow/"
  852. }
  853. var attributes = {
  854. }
  855. swfobject.embedSWF("about_monoslideshow/monoslideshow.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
  856. </script>
  857. </div>
  858. <% end %>
  859. <% elseif model.nonCSS.about_galleryType == "monoslideshow2" then %>
  860. <% if mode == 'preview' then %>
  861. <div id="about_frame">
  862. <div id="about_flashcontent">
  863. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  864. <p><strong>Setup Instructions</strong></p>
  865. <p>Export a gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-monoslideshow/">TTG MonoSlideshow</a> web engine. Name the export folder "about_monoslideshow" and copy it into the exported TTG Pages folder.</p>
  866. </div>
  867. </div>
  868. </div>
  869. <% else %>
  870. <div id="about_frame">
  871. <div id="about_flashcontent">
  872. <p>Please <a href="http://get.adobe.com/flashplayer/">install Flash®</a> and turn on Javascript.</p>
  873. </div>
  874. <script type="text/javascript">
  875. var flashvars = {showLogo: "false", showRegistration: "false"};
  876. var params = {allowScriptAccess: "sameDomain", allowfullscreen: "true", allowNetworking: "all", base: "about_monoslideshow/"};
  877. var attributes = {id: "monoslideshow", name: "monoslideshow", bgColor: "<%= model.nonCSS.about_stageBGC %>"};
  878. swfobject.embedSWF("about_monoslideshow/monoslideshow.swf", "about_flashcontent", "100%", "100%", "9", false, flashvars, params, attributes);
  879. </script>
  880. </div>
  881. <% end %>
  882. <% elseif model.nonCSS.about_galleryType == "polaroid" then %>
  883. <% if mode == 'preview' then %>
  884. <div id="about_frame">
  885. <div id="about_flashcontent">
  886. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  887. <p><strong>Setup Instructions</strong></p>
  888. <p>Export a gallery using the <a style="color:#e5a638 !important;" href="http://lightroom.theturninggate.net/flash-galleries/ttg-polaroid-gallery/">TTG Polaroid Gallery</a> web engine. Name the export folder "about_polaroid" and copy it into the exported TTG Pages folder.</p>
  889. </div>
  890. </div>
  891. </div>
  892. <% else %>
  893. <div id="about_frame">
  894. <div id="about_flashcontent">This gallery requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  895. <script language="JavaScript">
  896. var flashvars = {
  897. xmlURL: "photos.xml"
  898. }
  899. var params = {
  900. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  901. base: "about_polaroid/"
  902. }
  903. var attributes = {
  904. }
  905. swfobject.embedSWF("about_polaroid/polaroid.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
  906. </script>
  907. </div>
  908. <% end %>
  909. <% elseif model.nonCSS.about_galleryType == "postcardviewer" then %>
  910. <% if mode == 'preview' then %>
  911. <div id="about_frame">
  912. <div id="about_flashcontent">
  913. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  914. <p><strong>Setup Instructions</strong></p>
  915. <p>Export a PostcardViewer gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-postcardviewer/">TTG PostcardViewer</a> or Airtight PostcardViewer web engine. Name the export folder "about_postcardviewer" and copy it into the exported TTG Pages folder.</p>
  916. </div>
  917. </div>
  918. </div>
  919. <% else %>
  920. <div id="about_frame">
  921. <div id="about_flashcontent">PostcardViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash here.</a> </div>
  922. <script language="JavaScript">
  923. var flashvars = {
  924. // langOpenImage: "Open Image in New Window",
  925. // langAbout: "About",
  926. xmlURL: "gallery.xml"
  927. }
  928. var params = {
  929. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  930. base: "about_postcardviewer/"
  931. }
  932. var attributes = {
  933. }
  934. swfobject.embedSWF("about_postcardviewer/viewer.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
  935. </script>
  936. </div>
  937. <% end %>
  938. <% elseif model.nonCSS.about_galleryType == "simpleviewer" then %>
  939. <% if mode == 'preview' then %>
  940. <div id="about_frame">
  941. <div id="about_flashcontent">
  942. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  943. <p><strong>Setup Instructions</strong></p>
  944. <p>Export a Simpleviewer gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-simpleviewer/">TTG Simpleviewer</a> or Airtight Simpleviewer web engine. Name the export folder "about_simpleviewer" and copy it into the exported TTG Pages folder.</p>
  945. </div>
  946. </div>
  947. </div>
  948. <% else %>
  949. <div id="about_frame">
  950. <div id="about_flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  951. <script language="JavaScript">
  952. var flashvars = {
  953. // langOpenImage: "Open Image in New Window",
  954. // langAbout: "About",
  955. preloaderColor: "0xffffff",
  956. xmlDataPath: "gallery.xml"
  957. }
  958. var params = {
  959. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  960. base: "about_simpleviewer/"
  961. }
  962. var attributes = {
  963. }
  964. swfobject.embedSWF("about_simpleviewer/viewer.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
  965. </script>
  966. </div>
  967. <% end %>
  968. <% elseif model.nonCSS.about_galleryType == "simpleviewer2" then %>
  969. <% if mode == 'preview' then %>
  970. <div id="about_frame">
  971. <div id="about_flashcontent">
  972. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  973. <p><strong>Setup Instructions</strong></p>
  974. <p>Export a Simpleviewer gallery using the <a style="color:#e5a638 !important;" href="http://lightroom.theturninggate.net/flash-galleries/ttg-simpleviewer/">TTG Simpleviewer-2</a> web engine. Name the export folder "about_simpleviewer" and copy it into the exported TTG Stage folder.</p>
  975. </div>
  976. </div>
  977. </div>
  978. <% else %>
  979. <div id="about_frame">
  980. <div id="about_flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  981. <script type="text/javascript">
  982. var flashvars = {};
  983. flashvars.baseURL="about_simpleviewer/";
  984. flashvars.galleryURL = "gallery.xml";
  985. var params = {};
  986. params.allowfullscreen = true;
  987. params.allowscriptaccess = "always";
  988. params.bgcolor = "<%= model.nonCSS.about_stageBGC %>";
  989. swfobject.embedSWF("about_simpleviewer/simpleviewer.swf", "about_flashcontent", "100%", "100%", "9.0.124", false, flashvars, params);
  990. </script>
  991. </div>
  992. <% end %>
  993. <% elseif model.nonCSS.about_galleryType == "slideshowpro" then %>
  994. <% if mode == 'preview' then %>
  995. <div id="about_frame">
  996. <div id="about_flashcontent">
  997. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  998. <p><strong>Setup Instructions</strong></p>
  999. <p>Export a gallery using the <a href="http://www.slideshowpro.net">Slideshow Pro</a> web engine. Name the export folder "about_slideshowpro" and copy it into the exported TTG Pages folder.</p>
  1000. </div>
  1001. </div>
  1002. </div>
  1003. <% else %>
  1004. <div id="about_frame">
  1005. <div id="about_flashcontent">
  1006. This SlideShowPro photo gallery requires the Flash Player plugin and a web browser with JavaScript enabled.
  1007. </div>
  1008. <script language="JavaScript">
  1009. <!--
  1010. // Permalinks option
  1011. function flashPutHref(href) { location.href = href; }
  1012. // Expand browser option
  1013. var eB = false;
  1014. if (eB) {
  1015. window.moveTo(0,0);
  1016. window.resizeTo (screen.availWidth, screen.availHeight);
  1017. }
  1018. // swffit sizing
  1019. var swf_pad = 20;
  1020. function initSwffit(w,h) {
  1021. // If you change name of the DIV the SWF is written at,
  1022. // change 'flashcontent' to the name of your DIV.
  1023. swffit.fit('about_flashcontent',w+swf_pad,h+swf_pad);
  1024. }
  1025. // SWFObject embed
  1026. var flashvars = {
  1027. paramXMLPath: "param.xml",
  1028. initialURL: escape(document.location)
  1029. }
  1030. var params = {
  1031. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  1032. allowfullscreen: "true",
  1033. base: "about_slideshowpro/"
  1034. }
  1035. var attributes = {}
  1036. swfobject.embedSWF("about_slideshowpro/loader.swf", "about_flashcontent", "100%", "100%", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
  1037. /* below required for google chrome embed issue */
  1038. swffit.fit('about_flashcontent',0,0);
  1039. -->
  1040. </script>
  1041. </div> <!-- /frame -->
  1042. <% end %>
  1043. <% end %>
  1044. <% else %>
  1045. <img src="photos/<%= getImage(2).exportFilename %>.jpg" class="page_img" width="<%= getImage(2).renditions.photos.width %>" height="<%= getImage(2).renditions.photos.height %>" alt="<%= getImage(2).metadata.alt %>" style="float:right;" />
  1046. <% end %>
  1047. <% if model.nonCSS.about_stage then %>
  1048. <div class="copy" style="float:left; width: <%= math.floor( model.nonCSS.aboutWidth - ( model.nonCSS.page_content_padding * 2 ) - ( model.nonCSS.page_content_border * 2 ) - model.nonCSS.spacing - model.nonCSS.about_stage_width ) %>px;">
  1049. <% else %>
  1050. <div class="copy" style="float:left; width: <%= math.floor( model.nonCSS.aboutWidth - ( model.nonCSS.page_content_padding * 2 ) - ( model.nonCSS.page_content_border * 2 ) - model.nonCSS.spacing - ( ( model.nonCSS.imagePadding + model.nonCSS.imageBorderWidth ) * 2 ) - getImage(2).renditions.photos.width ) %>px;">
  1051. <% end %>
  1052. <% if model.nonCSS.includeAboutHeading1 then %><h2 id="metadata.aboutHeading1.value" class="first heading heading_about"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutHeading1.value');"<% end %>>$model.metadata.aboutHeading1.value</h2><% end %>
  1053. <% if model.nonCSS.includeAboutParagraph1 then %><p id="nonCSS.aboutParagraph1.value"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutParagraph1.value');"<% end %>>$model.metadata.aboutParagraph1.value</p><% end %>
  1054. <% if model.nonCSS.includeAboutHeading2 then %><h2 id="metadata.aboutHeading2.value" class="subsequent heading heading_about"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutHeading2.value');"<% end %>>$model.metadata.aboutHeading2.value</h2><% end %>
  1055. <% if model.nonCSS.includeAboutParagraph2 then %><p id="nonCSS.aboutParagraph2.value"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutParagraph2.value');"<% end %>>$model.metadata.aboutParagraph2.value</p><% end %>
  1056. <% if model.nonCSS.includeAboutHeading3 then %><h2 id="metadata.aboutHeading3.value" class="subsequent heading heading_about"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutHeading3.value');"<% end %>>$model.metadata.aboutHeading3.value</h2><% end %>
  1057. <% if model.nonCSS.includeAboutParagraph3 then %><p id="nonCSS.aboutParagraph3.value"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutParagraph3.value');"<% end %>>$model.metadata.aboutParagraph3.value</p><% end %>
  1058. <% if model.nonCSS.includeAboutHeading4 then %><h2 id="metadata.aboutHeading4.value" class="subsequent heading heading_about"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutHeading4.value');"<% end %>>$model.metadata.aboutHeading4.value</h2><% end %>
  1059. <% if model.nonCSS.includeAboutParagraph4 then %><p id="nonCSS.aboutParagraph4.value"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutParagraph4.value');"<% end %>>$model.metadata.aboutParagraph4.value</p><% end %>
  1060. <% if model.nonCSS.includeAboutHeading5 then %><h2 id="metadata.aboutHeading5.value" class="subsequent heading heading_about"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutHeading5.value');"<% end %>>$model.metadata.aboutHeading5.value</h2><% end %>
  1061. <% if model.nonCSS.includeAboutParagraph5 then %><p id="nonCSS.aboutParagraph5.value"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutParagraph5.value');"<% end %>>$model.metadata.aboutParagraph5.value</p><% end %>
  1062. </div>
  1063. <div class="clear"></div>
  1064. </div> <!-- /page_content home -->
  1065. <% elseif model.nonCSS.aboutConfiguration == "imageupcopydown" then %>
  1066. <div id="page_content" class="about">
  1067. <% if model.nonCSS.about_stage then %>
  1068. <style type="text/css">
  1069. #about_frame { margin: 0 auto 2em !important; }
  1070. </style>
  1071. <% if model.nonCSS.about_galleryType == "none" then %>
  1072. <div id="about_frame">
  1073. <div id="about_flashcontent">
  1074. <p style="margin: 0 !important;">You have chosen to replace this image with a Flash gallery. Please select a Gallery Type from the Appearance pane so that we can properly prepare the stage for your gallery.</p>
  1075. </div>
  1076. </div>
  1077. <% elseif model.nonCSS.about_galleryType == "autoviewer" then %>
  1078. <% if mode == 'preview' then %>
  1079. <div id="about_frame">
  1080. <div id="about_flashcontent">
  1081. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1082. <p><strong>Setup Instructions</strong></p>
  1083. <p>Export an Autoviewer gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-autoviewer/">TTG Autoviewer</a> or Airtight Autoviewer web engine. Name the export folder "about_autoviewer" and copy it into the exported TTG Pages folder.</p>
  1084. </div>
  1085. </div>
  1086. </div>
  1087. <% else %>
  1088. <div id="about_frame">
  1089. <div id="about_flashcontent"></div>
  1090. <script language="JavaScript">
  1091. var flashvars = {
  1092. // langOpenImage: "Open Image in New Window",
  1093. // langAbout: "About",
  1094. xmlURL: "gallery.xml"
  1095. }
  1096. var params = {
  1097. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  1098. scale: "noscale",
  1099. base: "about_autoviewer/"
  1100. }
  1101. var attributes = {
  1102. }
  1103. swfobject.embedSWF("about_autoviewer/viewer.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
  1104. </script>
  1105. </div>
  1106. <% end %>
  1107. <% elseif model.nonCSS.about_galleryType == "dimin" then %>
  1108. <% if mode == 'preview' then %>
  1109. <div id="about_frame">
  1110. <div id="about_flashcontent">
  1111. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1112. <p><strong>Setup Instructions</strong></p>
  1113. <p>Export a gallery using the <a href="http://dimin.m6.net/software/lightroom/">DIMIN Slideshow</a> web engine. Name the export folder "about_dimin" and copy it into the exported TTG Pages folder.</p>
  1114. </div>
  1115. </div>
  1116. </div>
  1117. <% else %>
  1118. <div id="about_frame">
  1119. <div id="about_flashcontent">DIMIN Slideshow requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash here.</a></div>
  1120. <script language="JavaScript">
  1121. var flashvars = {
  1122. width: "<%= model.nonCSS.about_gallery_width %>",
  1123. height: "<%= model.nonCSS.about_gallery_height %>",
  1124. file: "slideshow.xml"
  1125. }
  1126. var params = {
  1127. allowfullscreen: "true",
  1128. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  1129. base: "about_dimin/"
  1130. }
  1131. var attributes = {
  1132. }
  1133. swfobject.embedSWF("about_dimin/imagerotator.swf", "about_flashcontent", "<%= model.nonCSS.about_gallery_width %>", "<%= model.nonCSS.about_gallery_height %>", "7", false, flashvars, params, attributes);
  1134. </script>
  1135. </div>
  1136. <% end %>
  1137. <% elseif model.nonCSS.about_galleryType == "flashnifties" then %>
  1138. <% if mode == 'preview' then %>
  1139. <div id="about_frame">
  1140. <div id="about_flashcontent">
  1141. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1142. <p><strong>Setup Instructions</strong></p>
  1143. <p>Export a gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-flashnifties/">TTG Flashnifties</a> web engine. Name the export folder "about_flashnifties" and copy it into the exported TTG Pages folder.</p>
  1144. </div>
  1145. </div>
  1146. </div>
  1147. <% else %>
  1148. <div id="about_frame">
  1149. <div id="about_flashcontent">This gallery requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  1150. <script language="JavaScript">
  1151. var flashvars = {
  1152. }
  1153. var params = {
  1154. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  1155. base: "about_flashnifties/"
  1156. }
  1157. var attributes = {
  1158. }
  1159. swfobject.embedSWF("about_flashnifties/xmlGallery.swf", "about_flashcontent", "100%", "100%", "6", false, flashvars, params, attributes);
  1160. </script>
  1161. </div>
  1162. <% end %>
  1163. <% elseif model.nonCSS.about_galleryType == "flickr" then %>
  1164. <% if mode == 'preview' then %>
  1165. <div id="about_frame">
  1166. <div id="about_flashcontent">
  1167. <div id="flickr" style="padding:1em;font-size:11px;line-height:17px;">
  1168. <p><strong>Flickr Setup</strong></p>
  1169. <p>Input your Flickr username and the ID number of the Flickr Set you wish to display into the "Flickr Username" and "Flickr Set ID" fields, respectively.</p>
  1170. <p>To get the Flickr Set ID, visit your set on Flickr. The URL for the set will look like this: http://www.flickr.com/photos/username/sets/<span style="color:#f00 !important;">#################</span>/.</p>
  1171. <p>The number, shown here in red, is the set ID. Copy and paste that number into the "Flickr Set ID" field in the Appearance pane.</p>
  1172. <p>TTG Stage will only display <strong>sets</strong>, not collections, nor photostreams. The gallery will not display here in the LR preview, but will appear in the exported gallery, or when previewed in a browser.</p>
  1173. <p>The URL that will be displayed in your gallery is:</p>
  1174. <p><a href="http://www.flickr.com/photos/<%=model.nonCSS.about_flickrUser %>/sets/<%= model.nonCSS.about_flickrSet %>/">http://www.flickr.com/photos/<%=model.nonCSS.about_flickrUser %>/sets/<%= model.nonCSS.about_flickrSet %>/</a></p>
  1175. <p>Check that the URL is correct by clicking on it and verifying its destination.</p>
  1176. </div>
  1177. </div>
  1178. </div>
  1179. <% else %>
  1180. <div id="about_frame">
  1181. <div id="about_flashcontent">Flash is required to view this gallery. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  1182. <script language="JavaScript">
  1183. var flashvars = {
  1184. offsite: "true",
  1185. lang: "en-us",
  1186. page_show_url: "/photos/<%= model.nonCSS.about_flickrUser %>/sets/<%= model.nonCSS.about_flickrSet %>/show/",
  1187. set_id: "<%= model.nonCSS.about_flickrSet %>",
  1188. page_show_back_url: "/photos/<%= model.nonCSS.about_flickrUser %>/sets/<%= model.nonCSS.about_flickrSet %>/",
  1189. jump_to: ""
  1190. }
  1191. var params = {
  1192. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  1193. allowfullscreen: "true"
  1194. }
  1195. var attributes = {
  1196. }
  1197. swfobject.embedSWF("http://www.flickr.com/apps/slideshow/show.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
  1198. </script>
  1199. </div>
  1200. <% end %>
  1201. <% elseif model.nonCSS.about_galleryType == "lightroomflashgallery" then %>
  1202. <% if mode == 'preview' then %>
  1203. <div id="about_frame">
  1204. <div id="about_flashcontent">
  1205. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1206. <p><strong>Setup Instructions</strong></p>
  1207. <p>Export a gallery using the Lightroom Flash Gallery web engine. Name the export folder "about_lightroomflashgallery" and copy it into the exported TTG Pages folder.</p>
  1208. </div>
  1209. </div>
  1210. </div>
  1211. <% else %>
  1212. <div id="about_frame">
  1213. <div id="about_flashcontent">
  1214. <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
  1215. width="100%" height="100%"
  1216. codebase="http://download.macromedia.com/pub/shockwave/
  1217. cabs/flash/swflash.cab">
  1218. <param name="movie" value="about_lightroomflashgallery/resources/gallery.swf"/>
  1219. <param name="flashvars"
  1220. value="livePreview=false
  1221. &baseRefUrl=about_lightroomflashgallery/
  1222. &groupxml=resources/mediaGroupData/group.xml
  1223. &stylexml=resources/styles/style.xml
  1224. &localText=resources/localization/localText.xml"/>
  1225. <param name="id" value="gallery"/>
  1226. <param name="quality" value="high"/>
  1227. <param name="align" value="middle"/>
  1228. <param name="name" value="gallery"/>
  1229. <param name="bgcolor" value="#f7f7f7"/>
  1230. <param name="allowScriptAccess" value="sameDomain"/>
  1231. <param name="menu" value="true"/>
  1232. <embed src="about_lightroomflashgallery/resources/gallery.swf"
  1233. type="application/x-shockwave-flash"
  1234. pluginspage="http://www.macromedia.com/go/getflashplayer"
  1235. flashvars="livePreview=false
  1236. &baseRefUrl=about_lightroomflashgallery/
  1237. &groupxml=resources/mediaGroupData/group.xml
  1238. &stylexml=resources/styles/style.xml
  1239. &localText=resources/localization/localText.xml"
  1240. width="100%" height="100%" quality="high" align="middle"
  1241. allowScriptAccess="sameDomain">
  1242. </embed>
  1243. </object>
  1244. </div>
  1245. </div>
  1246. <% end %>
  1247. <% elseif model.nonCSS.about_galleryType == "monoslideshow" then %>
  1248. <% if mode == 'preview' then %>
  1249. <div id="about_frame">
  1250. <div id="about_flashcontent">
  1251. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1252. <p><strong>Setup Instructions</strong></p>
  1253. <p>Export a gallery using the (discontinued) TTG MonoSlideshow web engine, or create a Monoslideshow gallery on your own. Name the export folder "about_monoslideshow" and copy it into the exported TTG Pages folder.</p>
  1254. </div>
  1255. </div>
  1256. </div>
  1257. <% else %>
  1258. <div id="about_frame">
  1259. <div id="about_flashcontent">
  1260. <p><strong>Please install Flash® and turn on Javascript.</strong></p>
  1261. </div>
  1262. <script language="JavaScript">
  1263. var flashvars = {
  1264. showLogo: "false"
  1265. }
  1266. var params = {
  1267. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  1268. base: "about_monoslideshow/"
  1269. }
  1270. var attributes = {
  1271. }
  1272. swfobject.embedSWF("about_monoslideshow/monoslideshow.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
  1273. </script>
  1274. </div>
  1275. <% end %>
  1276. <% elseif model.nonCSS.about_galleryType == "monoslideshow2" then %>
  1277. <% if mode == 'preview' then %>
  1278. <div id="about_frame">
  1279. <div id="about_flashcontent">
  1280. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1281. <p><strong>Setup Instructions</strong></p>
  1282. <p>Export a gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-monoslideshow/">TTG MonoSlideshow</a> web engine. Name the export folder "about_monoslideshow" and copy it into the exported TTG Pages folder.</p>
  1283. </div>
  1284. </div>
  1285. </div>
  1286. <% else %>
  1287. <div id="about_frame">
  1288. <div id="about_flashcontent">
  1289. <p>Please <a href="http://get.adobe.com/flashplayer/">install Flash®</a> and turn on Javascript.</p>
  1290. </div>
  1291. <script type="text/javascript">
  1292. var flashvars = {showLogo: "false", showRegistration: "false"};
  1293. var params = {allowScriptAccess: "sameDomain", allowfullscreen: "true", allowNetworking: "all", base: "about_monoslideshow/"};
  1294. var attributes = {id: "monoslideshow", name: "monoslideshow", bgColor: "<%= model.nonCSS.about_stageBGC %>"};
  1295. swfobject.embedSWF("about_monoslideshow/monoslideshow.swf", "about_flashcontent", "100%", "100%", "9", false, flashvars, params, attributes);
  1296. </script>
  1297. </div>
  1298. <% end %>
  1299. <% elseif model.nonCSS.about_galleryType == "polaroid" then %>
  1300. <% if mode == 'preview' then %>
  1301. <div id="about_frame">
  1302. <div id="about_flashcontent">
  1303. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1304. <p><strong>Setup Instructions</strong></p>
  1305. <p>Export a gallery using the <a style="color:#e5a638 !important;" href="http://lightroom.theturninggate.net/flash-galleries/ttg-polaroid-gallery/">TTG Polaroid Gallery</a> web engine. Name the export folder "about_polaroid" and copy it into the exported TTG Pages folder.</p>
  1306. </div>
  1307. </div>
  1308. </div>
  1309. <% else %>
  1310. <div id="about_frame">
  1311. <div id="about_flashcontent">This gallery requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  1312. <script language="JavaScript">
  1313. var flashvars = {
  1314. xmlURL: "photos.xml"
  1315. }
  1316. var params = {
  1317. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  1318. base: "about_polaroid/"
  1319. }
  1320. var attributes = {
  1321. }
  1322. swfobject.embedSWF("about_polaroid/polaroid.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
  1323. </script>
  1324. </div>
  1325. <% end %>
  1326. <% elseif model.nonCSS.about_galleryType == "postcardviewer" then %>
  1327. <% if mode == 'preview' then %>
  1328. <div id="about_frame">
  1329. <div id="about_flashcontent">
  1330. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1331. <p><strong>Setup Instructions</strong></p>
  1332. <p>Export a PostcardViewer gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-postcardviewer/">TTG PostcardViewer</a> or Airtight PostcardViewer web engine. Name the export folder "about_postcardviewer" and copy it into the exported TTG Pages folder.</p>
  1333. </div>
  1334. </div>
  1335. </div>
  1336. <% else %>
  1337. <div id="about_frame">
  1338. <div id="about_flashcontent">PostcardViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash here.</a> </div>
  1339. <script language="JavaScript">
  1340. var flashvars = {
  1341. // langOpenImage: "Open Image in New Window",
  1342. // langAbout: "About",
  1343. xmlURL: "gallery.xml"
  1344. }
  1345. var params = {
  1346. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  1347. base: "about_postcardviewer/"
  1348. }
  1349. var attributes = {
  1350. }
  1351. swfobject.embedSWF("about_postcardviewer/viewer.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
  1352. </script>
  1353. </div>
  1354. <% end %>
  1355. <% elseif model.nonCSS.about_galleryType == "simpleviewer" then %>
  1356. <% if mode == 'preview' then %>
  1357. <div id="about_frame">
  1358. <div id="about_flashcontent">
  1359. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1360. <p><strong>Setup Instructions</strong></p>
  1361. <p>Export a Simpleviewer gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-simpleviewer/">TTG Simpleviewer</a> or Airtight Simpleviewer web engine. Name the export folder "about_simpleviewer" and copy it into the exported TTG Pages folder.</p>
  1362. </div>
  1363. </div>
  1364. </div>
  1365. <% else %>
  1366. <div id="about_frame">
  1367. <div id="about_flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  1368. <script language="JavaScript">
  1369. var flashvars = {
  1370. // langOpenImage: "Open Image in New Window",
  1371. // langAbout: "About",
  1372. preloaderColor: "0xffffff",
  1373. xmlDataPath: "gallery.xml"
  1374. }
  1375. var params = {
  1376. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  1377. base: "about_simpleviewer/"
  1378. }
  1379. var attributes = {
  1380. }
  1381. swfobject.embedSWF("about_simpleviewer/viewer.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
  1382. </script>
  1383. </div>
  1384. <% end %>
  1385. <% elseif model.nonCSS.about_galleryType == "simpleviewer2" then %>
  1386. <% if mode == 'preview' then %>
  1387. <div id="about_frame">
  1388. <div id="about_flashcontent">
  1389. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1390. <p><strong>Setup Instructions</strong></p>
  1391. <p>Export a Simpleviewer gallery using the <a style="color:#e5a638 !important;" href="http://lightroom.theturninggate.net/flash-galleries/ttg-simpleviewer/">TTG Simpleviewer-2</a> web engine. Name the export folder "about_simpleviewer" and copy it into the exported TTG Stage folder.</p>
  1392. </div>
  1393. </div>
  1394. </div>
  1395. <% else %>
  1396. <div id="about_frame">
  1397. <div id="about_flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  1398. <script type="text/javascript">
  1399. var flashvars = {};
  1400. flashvars.baseURL="about_simpleviewer/";
  1401. flashvars.galleryURL = "gallery.xml";
  1402. var params = {};
  1403. params.allowfullscreen = true;
  1404. params.allowscriptaccess = "always";
  1405. params.bgcolor = "<%= model.nonCSS.about_stageBGC %>";
  1406. swfobject.embedSWF("about_simpleviewer/simpleviewer.swf", "about_flashcontent", "100%", "100%", "9.0.124", false, flashvars, params);
  1407. </script>
  1408. </div>
  1409. <% end %>
  1410. <% elseif model.nonCSS.about_galleryType == "slideshowpro" then %>
  1411. <% if mode == 'preview' then %>
  1412. <div id="about_frame">
  1413. <div id="about_flashcontent">
  1414. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1415. <p><strong>Setup Instructions</strong></p>
  1416. <p>Export a gallery using the <a href="http://www.slideshowpro.net">Slideshow Pro</a> web engine. Name the export folder "about_slideshowpro" and copy it into the exported TTG Pages folder.</p>
  1417. </div>
  1418. </div>
  1419. </div>
  1420. <% else %>
  1421. <div id="about_frame">
  1422. <div id="about_flashcontent">
  1423. This SlideShowPro photo gallery requires the Flash Player plugin and a web browser with JavaScript enabled.
  1424. </div>
  1425. <script language="JavaScript">
  1426. <!--
  1427. // Permalinks option
  1428. function flashPutHref(href) { location.href = href; }
  1429. // Expand browser option
  1430. var eB = false;
  1431. if (eB) {
  1432. window.moveTo(0,0);
  1433. window.resizeTo (screen.availWidth, screen.availHeight);
  1434. }
  1435. // swffit sizing
  1436. var swf_pad = 20;
  1437. function initSwffit(w,h) {
  1438. // If you change name of the DIV the SWF is written at,
  1439. // change 'flashcontent' to the name of your DIV.
  1440. swffit.fit('about_flashcontent',w+swf_pad,h+swf_pad);
  1441. }
  1442. // SWFObject embed
  1443. var flashvars = {
  1444. paramXMLPath: "param.xml",
  1445. initialURL: escape(document.location)
  1446. }
  1447. var params = {
  1448. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  1449. allowfullscreen: "true",
  1450. base: "about_slideshowpro/"
  1451. }
  1452. var attributes = {}
  1453. swfobject.embedSWF("about_slideshowpro/loader.swf", "about_flashcontent", "100%", "100%", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
  1454. /* below required for google chrome embed issue */
  1455. swffit.fit('about_flashcontent',0,0);
  1456. -->
  1457. </script>
  1458. </div> <!-- /frame -->
  1459. <% end %>
  1460. <% end %>
  1461. <% else %>
  1462. <img src="photos/<%= getImage(2).exportFilename %>.jpg" class="page_img" width="<%= getImage(2).renditions.photos.width %>" height="<%= getImage(2).renditions.photos.height %>" alt="<%= getImage(2).metadata.alt %>" style="margin: 0 0 20px 0 !important;" />
  1463. <% end %>
  1464. <div class="copy" style="width: <%= math.floor( model.nonCSS.aboutWidth - ( model.nonCSS.page_content_padding * 2 ) - ( model.nonCSS.page_content_border * 2 ) ) %>px;">
  1465. <% if model.nonCSS.includeAboutHeading1 then %><h2 id="metadata.aboutHeading1.value" class="first heading heading_about"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutHeading1.value');"<% end %>>$model.metadata.aboutHeading1.value</h2><% end %>
  1466. <% if model.nonCSS.includeAboutParagraph1 then %><p id="nonCSS.aboutParagraph1.value"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutParagraph1.value');"<% end %>>$model.metadata.aboutParagraph1.value</p><% end %>
  1467. <% if model.nonCSS.includeAboutHeading2 then %><h2 id="metadata.aboutHeading2.value" class="subsequent heading heading_about"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutHeading2.value');"<% end %>>$model.metadata.aboutHeading2.value</h2><% end %>
  1468. <% if model.nonCSS.includeAboutParagraph2 then %><p id="nonCSS.aboutParagraph2.value"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutParagraph2.value');"<% end %>>$model.metadata.aboutParagraph2.value</p><% end %>
  1469. <% if model.nonCSS.includeAboutHeading3 then %><h2 id="metadata.aboutHeading3.value" class="subsequent heading heading_about"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutHeading3.value');"<% end %>>$model.metadata.aboutHeading3.value</h2><% end %>
  1470. <% if model.nonCSS.includeAboutParagraph3 then %><p id="nonCSS.aboutParagraph3.value"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutParagraph3.value');"<% end %>>$model.metadata.aboutParagraph3.value</p><% end %>
  1471. <% if model.nonCSS.includeAboutHeading4 then %><h2 id="metadata.aboutHeading4.value" class="subsequent heading heading_about"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutHeading4.value');"<% end %>>$model.metadata.aboutHeading4.value</h2><% end %>
  1472. <% if model.nonCSS.includeAboutParagraph4 then %><p id="nonCSS.aboutParagraph4.value"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutParagraph4.value');"<% end %>>$model.metadata.aboutParagraph4.value</p><% end %>
  1473. <% if model.nonCSS.includeAboutHeading5 then %><h2 id="metadata.aboutHeading5.value" class="subsequent heading heading_about"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutHeading5.value');"<% end %>>$model.metadata.aboutHeading5.value</h2><% end %>
  1474. <% if model.nonCSS.includeAboutParagraph5 then %><p id="nonCSS.aboutParagraph5.value"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutParagraph5.value');"<% end %>>$model.metadata.aboutParagraph5.value</p><% end %>
  1475. </div>
  1476. <div class="clear"></div>
  1477. </div> <!-- /page_content home -->
  1478. <% elseif model.nonCSS.aboutConfiguration == "copyupimagedown" then %>
  1479. <div id="page_content" class="about">
  1480. <div class="copy" style="width: <%= math.floor( model.nonCSS.aboutWidth - ( model.nonCSS.page_content_padding * 2 ) - ( model.nonCSS.page_content_border * 2 ) ) %>px;">
  1481. <% if model.nonCSS.includeAboutHeading1 then %><h2 id="metadata.aboutHeading1.value" class="first heading heading_about"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutHeading1.value');"<% end %>>$model.metadata.aboutHeading1.value</h2><% end %>
  1482. <% if model.nonCSS.includeAboutParagraph1 then %><p id="nonCSS.aboutParagraph1.value"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutParagraph1.value');"<% end %>>$model.metadata.aboutParagraph1.value</p><% end %>
  1483. <% if model.nonCSS.includeAboutHeading2 then %><h2 id="metadata.aboutHeading2.value" class="subsequent heading heading_about"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutHeading2.value');"<% end %>>$model.metadata.aboutHeading2.value</h2><% end %>
  1484. <% if model.nonCSS.includeAboutParagraph2 then %><p id="nonCSS.aboutParagraph2.value"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutParagraph2.value');"<% end %>>$model.metadata.aboutParagraph2.value</p><% end %>
  1485. <% if model.nonCSS.includeAboutHeading3 then %><h2 id="metadata.aboutHeading3.value" class="subsequent heading heading_about"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutHeading3.value');"<% end %>>$model.metadata.aboutHeading3.value</h2><% end %>
  1486. <% if model.nonCSS.includeAboutParagraph3 then %><p id="nonCSS.aboutParagraph3.value"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutParagraph3.value');"<% end %>>$model.metadata.aboutParagraph3.value</p><% end %>
  1487. <% if model.nonCSS.includeAboutHeading4 then %><h2 id="metadata.aboutHeading4.value" class="subsequent heading heading_about"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutHeading4.value');"<% end %>>$model.metadata.aboutHeading4.value</h2><% end %>
  1488. <% if model.nonCSS.includeAboutParagraph4 then %><p id="nonCSS.aboutParagraph4.value"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutParagraph4.value');"<% end %>>$model.metadata.aboutParagraph4.value</p><% end %>
  1489. <% if model.nonCSS.includeAboutHeading5 then %><h2 id="metadata.aboutHeading5.value" class="subsequent heading heading_about"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutHeading5.value');"<% end %>>$model.metadata.aboutHeading5.value</h2><% end %>
  1490. <% if model.nonCSS.includeAboutParagraph5 then %><p id="nonCSS.aboutParagraph5.value"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutParagraph5.value');"<% end %>>$model.metadata.aboutParagraph5.value</p><% end %>
  1491. </div>
  1492. <% if model.nonCSS.home_stage then %>
  1493. <style type="text/css">
  1494. #home_frame { margin: 2em auto 0 !important; }
  1495. </style>
  1496. <% if model.nonCSS.about_galleryType == "none" then %>
  1497. <div id="about_frame">
  1498. <div id="about_flashcontent">
  1499. <p style="margin: 0 !important;">You have chosen to replace this image with a Flash gallery. Please select a Gallery Type from the Appearance pane so that we can properly prepare the stage for your gallery.</p>
  1500. </div>
  1501. </div>
  1502. <% elseif model.nonCSS.about_galleryType == "autoviewer" then %>
  1503. <% if mode == 'preview' then %>
  1504. <div id="about_frame">
  1505. <div id="about_flashcontent">
  1506. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1507. <p><strong>Setup Instructions</strong></p>
  1508. <p>Export an Autoviewer gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-autoviewer/">TTG Autoviewer</a> or Airtight Autoviewer web engine. Name the export folder "about_autoviewer" and copy it into the exported TTG Pages folder.</p>
  1509. </div>
  1510. </div>
  1511. </div>
  1512. <% else %>
  1513. <div id="about_frame">
  1514. <div id="about_flashcontent"></div>
  1515. <script language="JavaScript">
  1516. var flashvars = {
  1517. // langOpenImage: "Open Image in New Window",
  1518. // langAbout: "About",
  1519. xmlURL: "gallery.xml"
  1520. }
  1521. var params = {
  1522. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  1523. scale: "noscale",
  1524. base: "about_autoviewer/"
  1525. }
  1526. var attributes = {
  1527. }
  1528. swfobject.embedSWF("about_autoviewer/viewer.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
  1529. </script>
  1530. </div>
  1531. <% end %>
  1532. <% elseif model.nonCSS.about_galleryType == "dimin" then %>
  1533. <% if mode == 'preview' then %>
  1534. <div id="about_frame">
  1535. <div id="about_flashcontent">
  1536. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1537. <p><strong>Setup Instructions</strong></p>
  1538. <p>Export a gallery using the <a href="http://dimin.m6.net/software/lightroom/">DIMIN Slideshow</a> web engine. Name the export folder "about_dimin" and copy it into the exported TTG Pages folder.</p>
  1539. </div>
  1540. </div>
  1541. </div>
  1542. <% else %>
  1543. <div id="about_frame">
  1544. <div id="about_flashcontent">DIMIN Slideshow requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash here.</a></div>
  1545. <script language="JavaScript">
  1546. var flashvars = {
  1547. width: "<%= model.nonCSS.about_gallery_width %>",
  1548. height: "<%= model.nonCSS.about_gallery_height %>",
  1549. file: "slideshow.xml"
  1550. }
  1551. var params = {
  1552. allowfullscreen: "true",
  1553. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  1554. base: "about_dimin/"
  1555. }
  1556. var attributes = {
  1557. }
  1558. swfobject.embedSWF("about_dimin/imagerotator.swf", "about_flashcontent", "<%= model.nonCSS.about_gallery_width %>", "<%= model.nonCSS.about_gallery_height %>", "7", false, flashvars, params, attributes);
  1559. </script>
  1560. </div>
  1561. <% end %>
  1562. <% elseif model.nonCSS.about_galleryType == "flashnifties" then %>
  1563. <% if mode == 'preview' then %>
  1564. <div id="about_frame">
  1565. <div id="about_flashcontent">
  1566. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1567. <p><strong>Setup Instructions</strong></p>
  1568. <p>Export a gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-flashnifties/">TTG Flashnifties</a> web engine. Name the export folder "about_flashnifties" and copy it into the exported TTG Pages folder.</p>
  1569. </div>
  1570. </div>
  1571. </div>
  1572. <% else %>
  1573. <div id="about_frame">
  1574. <div id="about_flashcontent">This gallery requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  1575. <script language="JavaScript">
  1576. var flashvars = {
  1577. }
  1578. var params = {
  1579. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  1580. base: "about_flashnifties/"
  1581. }
  1582. var attributes = {
  1583. }
  1584. swfobject.embedSWF("about_flashnifties/xmlGallery.swf", "about_flashcontent", "100%", "100%", "6", false, flashvars, params, attributes);
  1585. </script>
  1586. </div>
  1587. <% end %>
  1588. <% elseif model.nonCSS.about_galleryType == "flickr" then %>
  1589. <% if mode == 'preview' then %>
  1590. <div id="about_frame">
  1591. <div id="about_flashcontent">
  1592. <div id="flickr" style="padding:1em;font-size:11px;line-height:17px;">
  1593. <p><strong>Flickr Setup</strong></p>
  1594. <p>Input your Flickr username and the ID number of the Flickr Set you wish to display into the "Flickr Username" and "Flickr Set ID" fields, respectively.</p>
  1595. <p>To get the Flickr Set ID, visit your set on Flickr. The URL for the set will look like this: http://www.flickr.com/photos/username/sets/<span style="color:#f00 !important;">#################</span>/.</p>
  1596. <p>The number, shown here in red, is the set ID. Copy and paste that number into the "Flickr Set ID" field in the Appearance pane.</p>
  1597. <p>TTG Stage will only display <strong>sets</strong>, not collections, nor photostreams. The gallery will not display here in the LR preview, but will appear in the exported gallery, or when previewed in a browser.</p>
  1598. <p>The URL that will be displayed in your gallery is:</p>
  1599. <p><a href="http://www.flickr.com/photos/<%=model.nonCSS.about_flickrUser %>/sets/<%= model.nonCSS.about_flickrSet %>/">http://www.flickr.com/photos/<%=model.nonCSS.about_flickrUser %>/sets/<%= model.nonCSS.about_flickrSet %>/</a></p>
  1600. <p>Check that the URL is correct by clicking on it and verifying its destination.</p>
  1601. </div>
  1602. </div>
  1603. </div>
  1604. <% else %>
  1605. <div id="about_frame">
  1606. <div id="about_flashcontent">Flash is required to view this gallery. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  1607. <script language="JavaScript">
  1608. var flashvars = {
  1609. offsite: "true",
  1610. lang: "en-us",
  1611. page_show_url: "/photos/<%= model.nonCSS.about_flickrUser %>/sets/<%= model.nonCSS.about_flickrSet %>/show/",
  1612. set_id: "<%= model.nonCSS.about_flickrSet %>",
  1613. page_show_back_url: "/photos/<%= model.nonCSS.about_flickrUser %>/sets/<%= model.nonCSS.about_flickrSet %>/",
  1614. jump_to: ""
  1615. }
  1616. var params = {
  1617. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  1618. allowfullscreen: "true"
  1619. }
  1620. var attributes = {
  1621. }
  1622. swfobject.embedSWF("http://www.flickr.com/apps/slideshow/show.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
  1623. </script>
  1624. </div>
  1625. <% end %>
  1626. <% elseif model.nonCSS.about_galleryType == "lightroomflashgallery" then %>
  1627. <% if mode == 'preview' then %>
  1628. <div id="about_frame">
  1629. <div id="about_flashcontent">
  1630. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1631. <p><strong>Setup Instructions</strong></p>
  1632. <p>Export a gallery using the Lightroom Flash Gallery web engine. Name the export folder "about_lightroomflashgallery" and copy it into the exported TTG Pages folder.</p>
  1633. </div>
  1634. </div>
  1635. </div>
  1636. <% else %>
  1637. <div id="about_frame">
  1638. <div id="about_flashcontent">
  1639. <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
  1640. width="100%" height="100%"
  1641. codebase="http://download.macromedia.com/pub/shockwave/
  1642. cabs/flash/swflash.cab">
  1643. <param name="movie" value="about_lightroomflashgallery/resources/gallery.swf"/>
  1644. <param name="flashvars"
  1645. value="livePreview=false
  1646. &baseRefUrl=about_lightroomflashgallery/
  1647. &groupxml=resources/mediaGroupData/group.xml
  1648. &stylexml=resources/styles/style.xml
  1649. &localText=resources/localization/localText.xml"/>
  1650. <param name="id" value="gallery"/>
  1651. <param name="quality" value="high"/>
  1652. <param name="align" value="middle"/>
  1653. <param name="name" value="gallery"/>
  1654. <param name="bgcolor" value="#f7f7f7"/>
  1655. <param name="allowScriptAccess" value="sameDomain"/>
  1656. <param name="menu" value="true"/>
  1657. <embed src="about_lightroomflashgallery/resources/gallery.swf"
  1658. type="application/x-shockwave-flash"
  1659. pluginspage="http://www.macromedia.com/go/getflashplayer"
  1660. flashvars="livePreview=false
  1661. &baseRefUrl=about_lightroomflashgallery/
  1662. &groupxml=resources/mediaGroupData/group.xml
  1663. &stylexml=resources/styles/style.xml
  1664. &localText=resources/localization/localText.xml"
  1665. width="100%" height="100%" quality="high" align="middle"
  1666. allowScriptAccess="sameDomain">
  1667. </embed>
  1668. </object>
  1669. </div>
  1670. </div>
  1671. <% end %>
  1672. <% elseif model.nonCSS.about_galleryType == "monoslideshow" then %>
  1673. <% if mode == 'preview' then %>
  1674. <div id="about_frame">
  1675. <div id="about_flashcontent">
  1676. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1677. <p><strong>Setup Instructions</strong></p>
  1678. <p>Export a gallery using the (discontinued) TTG MonoSlideshow web engine, or create a Monoslideshow gallery on your own. Name the export folder "about_monoslideshow" and copy it into the exported TTG Pages folder.</p>
  1679. </div>
  1680. </div>
  1681. </div>
  1682. <% else %>
  1683. <div id="about_frame">
  1684. <div id="about_flashcontent">
  1685. <p><strong>Please install Flash® and turn on Javascript.</strong></p>
  1686. </div>
  1687. <script language="JavaScript">
  1688. var flashvars = {
  1689. showLogo: "false"
  1690. }
  1691. var params = {
  1692. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  1693. base: "about_monoslideshow/"
  1694. }
  1695. var attributes = {
  1696. }
  1697. swfobject.embedSWF("about_monoslideshow/monoslideshow.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
  1698. </script>
  1699. </div>
  1700. <% end %>
  1701. <% elseif model.nonCSS.about_galleryType == "monoslideshow2" then %>
  1702. <% if mode == 'preview' then %>
  1703. <div id="about_frame">
  1704. <div id="about_flashcontent">
  1705. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1706. <p><strong>Setup Instructions</strong></p>
  1707. <p>Export a gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-monoslideshow/">TTG MonoSlideshow</a> web engine. Name the export folder "about_monoslideshow" and copy it into the exported TTG Pages folder.</p>
  1708. </div>
  1709. </div>
  1710. </div>
  1711. <% else %>
  1712. <div id="about_frame">
  1713. <div id="about_flashcontent">
  1714. <p>Please <a href="http://get.adobe.com/flashplayer/">install Flash®</a> and turn on Javascript.</p>
  1715. </div>
  1716. <script type="text/javascript">
  1717. var flashvars = {showLogo: "false", showRegistration: "false"};
  1718. var params = {allowScriptAccess: "sameDomain", allowfullscreen: "true", allowNetworking: "all", base: "about_monoslideshow/"};
  1719. var attributes = {id: "monoslideshow", name: "monoslideshow", bgColor: "<%= model.nonCSS.about_stageBGC %>"};
  1720. swfobject.embedSWF("about_monoslideshow/monoslideshow.swf", "about_flashcontent", "100%", "100%", "9", false, flashvars, params, attributes);
  1721. </script>
  1722. </div>
  1723. <% end %>
  1724. <% elseif model.nonCSS.about_galleryType == "polaroid" then %>
  1725. <% if mode == 'preview' then %>
  1726. <div id="about_frame">
  1727. <div id="about_flashcontent">
  1728. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1729. <p><strong>Setup Instructions</strong></p>
  1730. <p>Export a gallery using the <a style="color:#e5a638 !important;" href="http://lightroom.theturninggate.net/flash-galleries/ttg-polaroid-gallery/">TTG Polaroid Gallery</a> web engine. Name the export folder "about_polaroid" and copy it into the exported TTG Pages folder.</p>
  1731. </div>
  1732. </div>
  1733. </div>
  1734. <% else %>
  1735. <div id="about_frame">
  1736. <div id="about_flashcontent">This gallery requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  1737. <script language="JavaScript">
  1738. var flashvars = {
  1739. xmlURL: "photos.xml"
  1740. }
  1741. var params = {
  1742. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  1743. base: "about_polaroid/"
  1744. }
  1745. var attributes = {
  1746. }
  1747. swfobject.embedSWF("about_polaroid/polaroid.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
  1748. </script>
  1749. </div>
  1750. <% end %>
  1751. <% elseif model.nonCSS.about_galleryType == "postcardviewer" then %>
  1752. <% if mode == 'preview' then %>
  1753. <div id="about_frame">
  1754. <div id="about_flashcontent">
  1755. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1756. <p><strong>Setup Instructions</strong></p>
  1757. <p>Export a PostcardViewer gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-postcardviewer/">TTG PostcardViewer</a> or Airtight PostcardViewer web engine. Name the export folder "about_postcardviewer" and copy it into the exported TTG Pages folder.</p>
  1758. </div>
  1759. </div>
  1760. </div>
  1761. <% else %>
  1762. <div id="about_frame">
  1763. <div id="about_flashcontent">PostcardViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash here.</a> </div>
  1764. <script language="JavaScript">
  1765. var flashvars = {
  1766. // langOpenImage: "Open Image in New Window",
  1767. // langAbout: "About",
  1768. xmlURL: "gallery.xml"
  1769. }
  1770. var params = {
  1771. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  1772. base: "about_postcardviewer/"
  1773. }
  1774. var attributes = {
  1775. }
  1776. swfobject.embedSWF("about_postcardviewer/viewer.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
  1777. </script>
  1778. </div>
  1779. <% end %>
  1780. <% elseif model.nonCSS.about_galleryType == "simpleviewer" then %>
  1781. <% if mode == 'preview' then %>
  1782. <div id="about_frame">
  1783. <div id="about_flashcontent">
  1784. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1785. <p><strong>Setup Instructions</strong></p>
  1786. <p>Export a Simpleviewer gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-simpleviewer/">TTG Simpleviewer</a> or Airtight Simpleviewer web engine. Name the export folder "about_simpleviewer" and copy it into the exported TTG Pages folder.</p>
  1787. </div>
  1788. </div>
  1789. </div>
  1790. <% else %>
  1791. <div id="about_frame">
  1792. <div id="about_flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  1793. <script language="JavaScript">
  1794. var flashvars = {
  1795. // langOpenImage: "Open Image in New Window",
  1796. // langAbout: "About",
  1797. preloaderColor: "0xffffff",
  1798. xmlDataPath: "gallery.xml"
  1799. }
  1800. var params = {
  1801. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  1802. base: "about_simpleviewer/"
  1803. }
  1804. var attributes = {
  1805. }
  1806. swfobject.embedSWF("about_simpleviewer/viewer.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
  1807. </script>
  1808. </div>
  1809. <% end %>
  1810. <% elseif model.nonCSS.about_galleryType == "simpleviewer2" then %>
  1811. <% if mode == 'preview' then %>
  1812. <div id="about_frame">
  1813. <div id="about_flashcontent">
  1814. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1815. <p><strong>Setup Instructions</strong></p>
  1816. <p>Export a Simpleviewer gallery using the <a style="color:#e5a638 !important;" href="http://lightroom.theturninggate.net/flash-galleries/ttg-simpleviewer/">TTG Simpleviewer-2</a> web engine. Name the export folder "about_simpleviewer" and copy it into the exported TTG Stage folder.</p>
  1817. </div>
  1818. </div>
  1819. </div>
  1820. <% else %>
  1821. <div id="about_frame">
  1822. <div id="about_flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  1823. <script type="text/javascript">
  1824. var flashvars = {};
  1825. flashvars.baseURL="about_simpleviewer/";
  1826. flashvars.galleryURL = "gallery.xml";
  1827. var params = {};
  1828. params.allowfullscreen = true;
  1829. params.allowscriptaccess = "always";
  1830. params.bgcolor = "<%= model.nonCSS.about_stageBGC %>";
  1831. swfobject.embedSWF("about_simpleviewer/simpleviewer.swf", "about_flashcontent", "100%", "100%", "9.0.124", false, flashvars, params);
  1832. </script>
  1833. </div>
  1834. <% end %>
  1835. <% elseif model.nonCSS.about_galleryType == "slideshowpro" then %>
  1836. <% if mode == 'preview' then %>
  1837. <div id="about_frame">
  1838. <div id="about_flashcontent">
  1839. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1840. <p><strong>Setup Instructions</strong></p>
  1841. <p>Export a gallery using the <a href="http://www.slideshowpro.net">Slideshow Pro</a> web engine. Name the export folder "about_slideshowpro" and copy it into the exported TTG Pages folder.</p>
  1842. </div>
  1843. </div>
  1844. </div>
  1845. <% else %>
  1846. <div id="about_frame">
  1847. <div id="about_flashcontent">
  1848. This SlideShowPro photo gallery requires the Flash Player plugin and a web browser with JavaScript enabled.
  1849. </div>
  1850. <script language="JavaScript">
  1851. <!--
  1852. // Permalinks option
  1853. function flashPutHref(href) { location.href = href; }
  1854. // Expand browser option
  1855. var eB = false;
  1856. if (eB) {
  1857. window.moveTo(0,0);
  1858. window.resizeTo (screen.availWidth, screen.availHeight);
  1859. }
  1860. // swffit sizing
  1861. var swf_pad = 20;
  1862. function initSwffit(w,h) {
  1863. // If you change name of the DIV the SWF is written at,
  1864. // change 'flashcontent' to the name of your DIV.
  1865. swffit.fit('about_flashcontent',w+swf_pad,h+swf_pad);
  1866. }
  1867. // SWFObject embed
  1868. var flashvars = {
  1869. paramXMLPath: "param.xml",
  1870. initialURL: escape(document.location)
  1871. }
  1872. var params = {
  1873. bgcolor: "<%= model.nonCSS.about_stageBGC %>",
  1874. allowfullscreen: "true",
  1875. base: "about_slideshowpro/"
  1876. }
  1877. var attributes = {}
  1878. swfobject.embedSWF("about_slideshowpro/loader.swf", "about_flashcontent", "100%", "100%", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
  1879. /* below required for google chrome embed issue */
  1880. swffit.fit('about_flashcontent',0,0);
  1881. -->
  1882. </script>
  1883. </div> <!-- /frame -->
  1884. <% end %>
  1885. <% end %>
  1886. <% else %>
  1887. <img src="photos/<%= getImage(2).exportFilename %>.jpg" class="page_img" width="<%= getImage(2).renditions.photos.width %>" height="<%= getImage(2).renditions.photos.height %>" alt="<%= getImage(2).metadata.alt %>" />
  1888. <% end %>
  1889. <div class="clear"></div>
  1890. </div> <!-- /page_content home -->
  1891. <% elseif model.nonCSS.aboutConfiguration == "noimagecopycenter" then %>
  1892. <div id="page_content" class="about">
  1893. <div class="copy" style="width: <%= math.floor( model.nonCSS.aboutWidth - ( model.nonCSS.page_content_padding * 2 ) - ( model.nonCSS.page_content_border * 2 ) ) %>px;">
  1894. <% if model.nonCSS.includeAboutHeading1 then %><h2 id="metadata.aboutHeading1.value" class="first heading heading_about"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutHeading1.value');"<% end %>>$model.metadata.aboutHeading1.value</h2><% end %>
  1895. <% if model.nonCSS.includeAboutParagraph1 then %><p id="nonCSS.aboutParagraph1.value"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutParagraph1.value');"<% end %>>$model.metadata.aboutParagraph1.value</p><% end %>
  1896. <% if model.nonCSS.includeAboutHeading2 then %><h2 id="metadata.aboutHeading2.value" class="subsequent heading heading_about"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutHeading2.value');"<% end %>>$model.metadata.aboutHeading2.value</h2><% end %>
  1897. <% if model.nonCSS.includeAboutParagraph2 then %><p id="nonCSS.aboutParagraph2.value"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutParagraph2.value');"<% end %>>$model.metadata.aboutParagraph2.value</p><% end %>
  1898. <% if model.nonCSS.includeAboutHeading3 then %><h2 id="metadata.aboutHeading3.value" class="subsequent heading heading_about"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutHeading3.value');"<% end %>>$model.metadata.aboutHeading3.value</h2><% end %>
  1899. <% if model.nonCSS.includeAboutParagraph3 then %><p id="nonCSS.aboutParagraph3.value"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutParagraph3.value');"<% end %>>$model.metadata.aboutParagraph3.value</p><% end %>
  1900. <% if model.nonCSS.includeAboutHeading4 then %><h2 id="metadata.aboutHeading4.value" class="subsequent heading heading_about"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutHeading4.value');"<% end %>>$model.metadata.aboutHeading4.value</h2><% end %>
  1901. <% if model.nonCSS.includeAboutParagraph4 then %><p id="nonCSS.aboutParagraph4.value"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutParagraph4.value');"<% end %>>$model.metadata.aboutParagraph4.value</p><% end %>
  1902. <% if model.nonCSS.includeAboutHeading5 then %><h2 id="metadata.aboutHeading5.value" class="subsequent heading heading_about"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutHeading5.value');"<% end %>>$model.metadata.aboutHeading5.value</h2><% end %>
  1903. <% if model.nonCSS.includeAboutParagraph5 then %><p id="nonCSS.aboutParagraph5.value"<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.aboutParagraph5.value');"<% end %>>$model.metadata.aboutParagraph5.value</p><% end %>
  1904. </div>
  1905. <div class="clear"></div>
  1906. </div> <!-- /page_content home -->
  1907. <% end %>
  1908. </div> <!-- /gallery -->
  1909. <% --[[ Include the page footer ]] %>
  1910. <% if model.nonCSS.includeFooter then %>
  1911. <div id="footer"<% if model.nonCSS.transparentBackground then %> style="background-color: transparent !important;"<% end %>>
  1912. <div id="footer_content">
  1913. <% if model.nonCSS.footerNav then %><p class="footer_text footer_nav" style="margin-bottom: 1em !important;"><% if model.nonCSS.menuItem1 then %><a href="$model.metadata.menuItem1.link" id="metadata.menuItem1.value" style="padding-left: 0 !important;">$model.metadata.menuItem1.value</a> <%= model.metadata.menuDivider.value %> <% end %><% if model.nonCSS.menuItem2 then %><a href="$model.metadata.menuItem2.link" id="metadata.menuItem2.value">$model.metadata.menuItem2.value</a> <%= model.metadata.menuDivider.value %> <% end %><% if model.nonCSS.menuItem3 then %><a href="$model.metadata.menuItem3.link" id="metadata.menuItem3.value">$model.metadata.menuItem3.value</a> <%= model.metadata.menuDivider.value %> <% end %><% if model.nonCSS.menuItem4 then %><a href="$model.metadata.menuItem4.link" id="metadata.menuItem4.value">$model.metadata.menuItem4.value</a> <%= model.metadata.menuDivider.value %> <% end %><% if model.nonCSS.menuItem5 then %><a href="$model.metadata.menuItem5.link" id="metadata.menuItem5.value">$model.metadata.menuItem5.value</a> <%= model.metadata.menuDivider.value %> <% end %><%= model.metadata.customMenu.value %><% if model.nonCSS.contactLink then %><a href="$model.metadata.contact.link" id="metadata.contact.value" style="padding-right: 0 !important;">$model.metadata.contact.value</a><% end %></p><% end %>
  1914. <p<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.footer.text');"<% end %> class="footer_text">$model.metadata.footer.text
  1915. <% if model.nonCSS.ttgCredit then %><br />Powered by <a href="http://lr.theturninggate.net" onclick="window.open(this.href); return false;">The Turning Gate (TTG)</a>.<% end %>
  1916. </p>
  1917. </div>
  1918. </div>
  1919. <% end %>
  1920. </div> <!-- /wrapper -->
  1921. <% if mode == 'publish' then %>
  1922. <%= model.metadata.script.footer %>
  1923. <% if model.nonCSS.googleAnalytics then %>
  1924. <script type="text/javascript">
  1925. var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
  1926. document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
  1927. </script>
  1928. <script type="text/javascript">
  1929. try {
  1930. var pageTracker = _gat._getTracker("<%= model.metadata.googleAnalytics.id %>");
  1931. pageTracker._trackPageview();
  1932. } catch(err) {}</script>
  1933. <% end %>
  1934. <% end %>
  1935. </body>
  1936. </html>
  1. --[[ Include the page head]] write( [[
  2. ]] )
  3. --[[ Define some variables to make locating other resources easier
  4. firstPage was defined in our manifest.]]
  5. local theRoot = "."
  6. write( [[
  7. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  8. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" dir="]] )write( model.metadata.html.dir )write( [[">
  9. <head>
  10. <meta http-equiv="content-type" content="text/html; charset=]] )write( model.nonCSS.charset )write( [[" />
  11. ]] ) if model.nonCSS.metaTags then write( [[<meta name="author" content="]] )write( model.metadata.metaAuthor.value )write( [[" />
  12. <meta name="description" content="]] )write( model.metadata.metaDescription.value )write( [[" />
  13. <meta name="keywords" content="]] )write( model.metadata.metaKeywords.value )write( [[" />
  14. <meta name="generator" content="Adobe Photoshop Lightroom, TTG LR Pages" />]] ) end write( [[
  15. <title>]] )write( model.metadata.htmlTitle.value )write( [[</title>
  16. <link rel="shortcut icon" type="image/ico" href="]] )write( theRoot )write( [[/resources/images/favicon.ico" />
  17. <link rel="stylesheet" type="text/css" media="screen" href="]] )write( theRoot )write( [[/resources/css/gallery.css" />
  18. <script type="text/javascript" src="]] )write( theRoot )write( [[/resources/js/swfobject.js"></script>
  19. <script type="text/javascript" src="]] )write( theRoot )write( [[/resources/js/livevalidation.js"></script>
  20. <script type="text/javascript" src="]] )write( theRoot )write( [[/resources/js/jquery-1.4.1.min.js"></script>
  21. <script type="text/javascript" src="]] )write( theRoot )write( [[/resources/js/jquery.jfade.1.0.min.js"></script>
  22. ]] ) if model.nonCSS.gridType == 'iconic' then if model.nonCSS.captifyAnimation == 'never' then else write( [[<script type="text/javascript" src="]] )write( theRoot )write( [[/resources/js/captify.tiny.js"></script>]] ) end end write( [[
  23. ]] ) if model.nonCSS.indexAction == 'shadowbox' then write( [[
  24. <script type="text/javascript" src="]] )write( theRoot )write( [[/resources/shadowbox/shadowbox.js"></script>
  25. <script type="text/javascript">
  26. var options = {
  27. overlayColor: ']] )write( model.nonCSS.shadowboxOverlayWebColor )write( [[',
  28. overlayOpacity: 0.]] )write( model.nonCSS.shadowboxOverlayOpacity )write( [[,
  29. players: ]] .. "[" .. [['img','swf','flv','qt','wmp','iframe','html']] .. "]" .. [[
  30. };
  31. Shadowbox.init(options);
  32. </script>
  33. <link rel="stylesheet" type="text/css" media="screen" href="]] )write( theRoot )write( [[/resources/shadowbox/shadowbox.css" />
  34. <style type="text/css">
  35. #sb-nav-close { background-image:url(]] )write( theRoot )write( [[/resources/images/]] )write( model.nonCSS.shadowbox_controls )write( [[.png) !important; background-position: -64px 0; }
  36. #sb-nav-next { background-image:url(]] )write( theRoot )write( [[/resources/images/]] )write( model.nonCSS.shadowbox_controls )write( [[.png) !important; background-position: -32px 0; }
  37. #sb-nav-previous { background-image:url(]] )write( theRoot )write( [[/resources/images/]] )write( model.nonCSS.shadowbox_controls )write( [[.png) !important; background-position: -48px 0; }
  38. #sb-nav-play { background-image:url(]] )write( theRoot )write( [[/resources/images/]] )write( model.nonCSS.shadowbox_controls )write( [[.png) !important; background-position: -16px 0; }
  39. #sb-nav-pause { background-image:url(]] )write( theRoot )write( [[/resources/images/]] )write( model.nonCSS.shadowbox_controls )write( [[.png) !important; background-position: 0 0; }
  40. </style>
  41. ]] ) end write( [[
  42. <script type="text/javascript">
  43. $(function(){
  44. $(".albumBox").jFade({
  45. trigger: "mouseover",
  46. property: 'background',
  47. start: ']] )write( model.nonCSS.albumBox_color_ag )write( [[',
  48. end: ']] )write( model.nonCSS.albumBox_color_onhover_ag )write( [[',
  49. steps: 20,
  50. duration: 15
  51. }).jFade({
  52. trigger: "mouseout",
  53. property: 'background',
  54. start: ']] )write( model.nonCSS.albumBox_color_onhover_ag )write( [[',
  55. end: ']] )write( model.nonCSS.albumBox_color_ag )write( [[',
  56. steps: 20,
  57. duration: 15
  58. });
  59. });
  60. </script>
  61. ]] ) if model.nonCSS.includeFooter then write( [[
  62. <script type="text/javascript">
  63. <!--
  64. function printViewportDimensions() {
  65. var viewportwidth = $(window).width();
  66. var viewportheight = window.innerHeight ? window.innerHeight : $(window).height();
  67. $('#wrapper').css('min-height', (viewportheight-]] )write( model.nonCSS.footerHeight )write( [[) + 'px');
  68. }
  69. printViewportDimensions();
  70. $(function() {
  71. printViewportDimensions();
  72. $(window).resize(function()
  73. {
  74. printViewportDimensions();
  75. });
  76. });
  77. //-->
  78. </script>
  79. ]] ) end write( [[
  80. ]] ) if model.nonCSS.gridType == 'iconic' then if model.nonCSS.captifyAnimation == 'never' then else write( [[
  81. <script type="text/javascript">
  82. <!--
  83. $(function(){
  84. $('img.captify').captify({
  85. speedOver: 'fast',
  86. speedOut: 'normal',
  87. hideDelay: 500,
  88. animation: ']] )write( model.nonCSS.captifyAnimation )write( [[',
  89. prefix: '',
  90. opacity: '0.7',
  91. className: 'caption-]] )write( model.nonCSS.captifyPosition )write( [[',
  92. position: ']] )write( model.nonCSS.captifyPosition )write( [[',
  93. spanWidth: '100%'
  94. });
  95. });
  96. //-->
  97. </script>
  98. ]] ) end end write( [[
  99. <style type="text/css">
  100. ]] ) if mode == "preview" then write( [[#wrapper { min-height: 100%; }]] ) end write( [[
  101. #page_content {
  102. -moz-border-radius: ]] )write( model.nonCSS.page_content_corners )write( [[px;
  103. -webkit-border-radius: ]] )write( model.nonCSS.page_content_corners )write( [[px;
  104. }
  105. .albumBox]] ) if model.nonCSS.gridType == 'iconic' then write( [[, .albumBoxContent]] ) end write( [[ {
  106. background-color: #]] )write( model.nonCSS.albumBox_color_ag )write( [[;
  107. -moz-border-radius: ]] )write( model.nonCSS.albumBoxCorners )write( [[px;
  108. -webkit-border-radius: ]] )write( model.nonCSS.albumBoxCorners )write( [[px;
  109. }
  110. #inputfields {
  111. -moz-border-radius: ]] )write( model.nonCSS.selectionInputCorners )write( [[px;
  112. -webkit-border-radius: ]] )write( model.nonCSS.selectionInputCorners )write( [[px;
  113. }
  114. ]] ) if model.nonCSS.gridType == 'iconic' then write( [[
  115. ]] ) if model.nonCSS.captifyAnimation == 'never' then write( [[
  116. .albumBoxContent, img.captify {
  117. width: ]] )write( math.floor( model.nonCSS.albumBoxWidth - ( model.nonCSS.albumBoxBorderWidth * 2 ) ) )write( [[px;
  118. height: ]] )write( math.floor( model.nonCSS.albumBoxHeight - ( model.nonCSS.albumBoxBorderWidth * 2 ) ) )write( [[px;
  119. }
  120. .albumBoxContent {
  121. padding: 0 !important;
  122. }
  123. img.captify {
  124. opacity: 0; filter:alpha(opacity=0);
  125. }
  126. ]] ) else write( [[
  127. .caption-top, .caption-bottom {
  128. color: ]] )write( model.nonCSS.albumTitleColor )write( [[;
  129. padding: 0.5em;
  130. font-weight: ]] )write( model.appearance.albumTitle[ 'font-weight' ] )write( [[;
  131. font-size: ]] )write( model.nonCSS.albumTitle_fontsize )write( [[px;
  132. font-family: ]] )write( model.appearance.albumTitle[ 'font-family' ] )write( [[;
  133. border: 0px solid ]] )write( model.nonCSS.albumTitleBorderColor )write( [[;
  134. background: ]] )write( model.nonCSS.albumTitleBGColor )write( [[;
  135. text-shadow: 1px 1px 0 ]] )write( model.nonCSS.albumTitleShadowColor )write( [[;
  136. }
  137. .caption-top {
  138. border-width: 0px 0px ]] )write( model.nonCSS.albumTitle_border )write( [[px 0px;
  139. }
  140. .caption-bottom {
  141. border-width: ]] )write( model.nonCSS.albumTitle_border )write( [[px 0px 0px 0px;
  142. }
  143. .caption a, .caption a {
  144. border: 0 none;
  145. text-decoration: none;
  146. background: #000000;
  147. padding: 0.3em;
  148. }
  149. .caption a:hover, .caption a:hover {
  150. background: #202020;
  151. }
  152. .albumBoxContent, img.captify {
  153. width: ]] )write( math.floor( model.nonCSS.albumBoxWidth - ( model.nonCSS.albumBoxBorderWidth * 2 ) ) )write( [[px;
  154. height: ]] )write( math.floor( model.nonCSS.albumBoxHeight - ( model.nonCSS.albumBoxBorderWidth * 2 ) ) )write( [[px;
  155. }
  156. .albumBoxContent {
  157. padding: 0 !important;
  158. }
  159. img.captify {
  160. opacity: 0; filter:alpha(opacity=0);
  161. }
  162. ]] ) end end write( [[
  163. </style>
  164. ]] ) if mode == 'publish' then write( [[
  165. <!-- compliance patch for microsoft browsers -->
  166. <!--]] .. "[" .. [[if lt IE 8]] .. "]" .. [[>
  167. <script src="http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE8.js" type="text/javascript"></script>
  168. <!]] .. "[" .. [[endif]] .. "]" .. [[-->
  169. ]] ) end write( [[
  170. ]] ) if mode == 'preview' then write( [[
  171. <script type="text/javascript">
  172. window.AgMode = "]] )write( mode )write( [[";
  173. window.AgOnLoad = function() {
  174. tellLightroomWhatImagesWeAreUsing();
  175. setActiveImageSize( "]] )write( mySize )write( [[" );
  176. ]] ) if image then write( [[
  177. callCallback( "showInPhotoBin", "]] )write( image.imageID )write( [[" );
  178. ]] ) end write( [[
  179. }
  180. </script>
  181. <script type="text/javascript" src="]] )write( theRoot )write( [[/resources_preview/js/live_update.js"></script>
  182. ]] ) end write( [[
  183. ]] )write( model.metadata.style.head )write( [[
  184. ]] ) if mode == "publish" then write( [[
  185. ]] )write( model.metadata.script.head )write( [[
  186. ]] ) end write( [[
  187. </head>
  188. <body id="about">
  189. ]] ) --[[ Include the page header]] write( [[
  190. ]] )
  191. --[[ Define some variables to make locating other resources easier
  192. firstPage was defined in our manifest.]]
  193. local theRoot = "."
  194. write( [[
  195. <div id="wrapper">
  196. ]] ) if model.nonCSS.idplateLocation == "header" then write( [[
  197. <div id="header_container">
  198. <div id="header"]] ) if model.nonCSS.fixHeaderWidth then write( [[ style="width: ]] )write( model.nonCSS.fixedHeaderWidth )write( [[px !important;"]] ) end write( [[>
  199. <h1]] ) if model.nonCSS.idplate then write( [[ style="background-image: url(]] ) if model.nonCSS.shareResources then write( model.nonCSS.pathToResources )write( [[images/idplate.png]] ) else write( theRoot )write( [[/resources/images/idplate.png]] ) end write( [[); background-repeat: no-repeat; background-position: ]] )write( model.nonCSS.idplate_X )write( [[% ]] )write( model.nonCSS.idplate_Y )write( [[%;"]] ) end write( [[><a href="]] )write( model.metadata.headerlink.value )write( [["><span>]] )write( model.metadata.htmlTitle.value )write( [[</span></a></h1>
  200. </div> <!-- /header -->
  201. </div>
  202. <div id="menu">
  203. <div id="menuContent"]] ) if model.nonCSS.fixHeaderWidth then write( [[ style="width: ]] )write( model.nonCSS.fixedHeaderWidth )write( [[px !important;"]] ) end write( [[>
  204. <p style="margin-left: ]] )write( model.nonCSS.menuPaddingLeft )write( [[px !important; margin-right: ]] )write( model.nonCSS.menuPaddingRight )write( [[px !important;">]] ) if model.nonCSS.menuItem1 then write( [[<a href="]] )write( model.metadata.menuItem1.link )write( [[" id="metadata.menuItem1.value" style="padding-left: 0 !important;">]] )write( model.metadata.menuItem1.value )write( [[</a> ]] )write( model.metadata.menuDivider.value )write( [[ ]] ) end if model.nonCSS.menuItem2 then write( [[<a href="]] ) if mode == 'preview' then write( [[galleryindex.html]] ) else write( [[galleryindex.php]] ) end write( [[" id="metadata.menuItem2.value">]] )write( model.metadata.menuItem2.value )write( [[</a> ]] )write( model.metadata.menuDivider.value )write( [[ ]] ) end if model.nonCSS.menuItem3 then write( [[<a href="]] )write( model.metadata.menuItem3.link )write( [[" id="metadata.menuItem3.value">]] )write( model.metadata.menuItem3.value )write( [[</a> ]] )write( model.metadata.menuDivider.value )write( [[ ]] ) end if model.nonCSS.menuItem4 then write( [[<a href="]] )write( model.metadata.menuItem4.link )write( [[" id="metadata.menuItem4.value">]] )write( model.metadata.menuItem4.value )write( [[</a> ]] )write( model.metadata.menuDivider.value )write( [[ ]] ) end if model.nonCSS.menuItem5 then write( [[<a href="]] )write( model.metadata.menuItem5.link )write( [[" id="metadata.menuItem5.value">]] )write( model.metadata.menuItem5.value )write( [[</a> ]] )write( model.metadata.menuDivider.value )write( [[ ]] ) end write( model.metadata.customMenu.value )write( [[<a href="]] )write( model.metadata.contact.link )write( [[" id="metadata.contact.value" style="padding-right: 0 !important;">]] )write( model.metadata.contact.value )write( [[</a></p>
  205. </div>
  206. </div> <!-- /menu -->
  207. ]] ) elseif model.nonCSS.idplateLocation == "menu" then write( [[
  208. <div id="header_container">
  209. <div id="header"]] ) if model.nonCSS.fixHeaderWidth then write( [[ style="width: ]] )write( model.nonCSS.fixedHeaderWidth )write( [[px !important;"]] ) end write( [[>
  210. </div> <!-- /header -->
  211. </div>
  212. <div id="menu">
  213. <div id="menuContent" ]] ) if model.nonCSS.idplate then write( [[
  214. style="]] ) if model.nonCSS.fixHeaderWidth then write( [[width: ]] )write( model.nonCSS.fixedHeaderWidth )write( [[px !important; ]] ) end write( [[background-image: url(]] ) if model.nonCSS.shareResources then write( model.nonCSS.pathToResources )write( [[images/idplate.png]] ) else write( theRoot )write( [[/resources/images/idplate.png]] ) end write( [[); background-repeat: no-repeat; background-position: ]] )write( model.nonCSS.idplate_X )write( [[% ]] )write( model.nonCSS.idplate_Y )write( [[%;"]] ) end write( [[>
  215. <p style="margin-left: ]] )write( model.nonCSS.menuPaddingLeft )write( [[px !important; margin-right: ]] )write( model.nonCSS.menuPaddingRight )write( [[px !important;">]] ) if model.nonCSS.menuItem1 then write( [[<a href="]] )write( model.metadata.menuItem1.link )write( [[" id="metadata.menuItem1.value" style="padding-left: 0 !important;">]] )write( model.metadata.menuItem1.value )write( [[</a> ]] )write( model.metadata.menuDivider.value )write( [[ ]] ) end if model.nonCSS.menuItem2 then write( [[<a href="]] ) if mode == 'preview' then write( [[galleryindex.html]] ) else write( [[galleryindex.php]] ) end write( [[" id="metadata.menuItem2.value">]] )write( model.metadata.menuItem2.value )write( [[</a> ]] )write( model.metadata.menuDivider.value )write( [[ ]] ) end if model.nonCSS.menuItem3 then write( [[<a href="]] )write( model.metadata.menuItem3.link )write( [[" id="metadata.menuItem3.value">]] )write( model.metadata.menuItem3.value )write( [[</a> ]] )write( model.metadata.menuDivider.value )write( [[ ]] ) end if model.nonCSS.menuItem4 then write( [[<a href="]] )write( model.metadata.menuItem4.link )write( [[" id="metadata.menuItem4.value">]] )write( model.metadata.menuItem4.value )write( [[</a> ]] )write( model.metadata.menuDivider.value )write( [[ ]] ) end if model.nonCSS.menuItem5 then write( [[<a href="]] )write( model.metadata.menuItem5.link )write( [[" id="metadata.menuItem5.value">]] )write( model.metadata.menuItem5.value )write( [[</a> ]] )write( model.metadata.menuDivider.value )write( [[ ]] ) end write( model.metadata.customMenu.value )write( [[<a href="]] )write( model.metadata.contact.link )write( [[" id="metadata.contact.value" style="padding-right: 0 !important;">]] )write( model.metadata.contact.value )write( [[</a></p>
  216. </div>
  217. </div> <!-- /menu -->
  218. ]] ) elseif model.nonCSS.idplateLocation == "beneath" then write( [[
  219. <div id="menu" style="margin-bottom: 0 !important;">
  220. <div id="menuContent"]] ) if model.nonCSS.fixHeaderWidth then write( [[ style="width: ]] )write( model.nonCSS.fixedHeaderWidth )write( [[px !important;"]] ) end write( [[>
  221. <p style="margin-left: ]] )write( model.nonCSS.menuPaddingLeft )write( [[px !important; margin-right: ]] )write( model.nonCSS.menuPaddingRight )write( [[px !important;">]] ) if model.nonCSS.menuItem1 then write( [[<a href="]] )write( model.metadata.menuItem1.link )write( [[" id="metadata.menuItem1.value" style="padding-left: 0 !important;">]] )write( model.metadata.menuItem1.value )write( [[</a> ]] )write( model.metadata.menuDivider.value )write( [[ ]] ) end if model.nonCSS.menuItem2 then write( [[<a href="]] ) if mode == 'preview' then write( [[galleryindex.html]] ) else write( [[galleryindex.php]] ) end write( [[" id="metadata.menuItem2.value">]] )write( model.metadata.menuItem2.value )write( [[</a> ]] )write( model.metadata.menuDivider.value )write( [[ ]] ) end if model.nonCSS.menuItem3 then write( [[<a href="]] )write( model.metadata.menuItem3.link )write( [[" id="metadata.menuItem3.value">]] )write( model.metadata.menuItem3.value )write( [[</a> ]] )write( model.metadata.menuDivider.value )write( [[ ]] ) end if model.nonCSS.menuItem4 then write( [[<a href="]] )write( model.metadata.menuItem4.link )write( [[" id="metadata.menuItem4.value">]] )write( model.metadata.menuItem4.value )write( [[</a> ]] )write( model.metadata.menuDivider.value )write( [[ ]] ) end if model.nonCSS.menuItem5 then write( [[<a href="]] )write( model.metadata.menuItem5.link )write( [[" id="metadata.menuItem5.value">]] )write( model.metadata.menuItem5.value )write( [[</a> ]] )write( model.metadata.menuDivider.value )write( [[ ]] ) end write( model.metadata.customMenu.value )write( [[<a href="]] )write( model.metadata.contact.link )write( [[" id="metadata.contact.value" style="padding-right: 0 !important;">]] )write( model.metadata.contact.value )write( [[</a></p>
  222. </div>
  223. </div> <!-- /menu -->
  224. <div id="header_container">
  225. <div id="header"]] ) if model.nonCSS.fixHeaderWidth then write( [[ style="width: ]] )write( model.nonCSS.fixedHeaderWidth )write( [[px !important;"]] ) end write( [[>
  226. <h1]] ) if model.nonCSS.idplate then write( [[ style="background-image: url(]] ) if model.nonCSS.shareResources then write( model.nonCSS.pathToResources )write( [[images/idplate.png]] ) else write( theRoot )write( [[/resources/images/idplate.png]] ) end write( [[); background-repeat: no-repeat; background-position: ]] )write( model.nonCSS.idplate_X )write( [[% ]] )write( model.nonCSS.idplate_Y )write( [[%;"]] ) end write( [[><a href="]] )write( model.metadata.headerlink.value )write( [["><span>]] )write( model.metadata.htmlTitle.value )write( [[</span></a></h1>
  227. </div> <!-- /header -->
  228. </div>
  229. ]] ) end write( [[
  230. <div id="gallery">
  231. ]] ) if model.nonCSS.aboutConfiguration == "imageleftcopyright" then write( [[
  232. <div id="page_content" class="about">
  233. ]] ) if model.nonCSS.about_stage then write( [[
  234. <style type="text/css">
  235. #about_frame { float: left; }
  236. </style>
  237. ]] ) if model.nonCSS.about_galleryType == "none" then write( [[
  238. <div id="about_frame">
  239. <div id="about_flashcontent">
  240. <p style="margin: 0 !important; padding: 10px !important;">You have chosen to replace this image with a Flash gallery. Please select a Gallery Type from the Appearance pane so that we can properly prepare the stage for your gallery.</p>
  241. </div>
  242. </div>
  243. ]] ) elseif model.nonCSS.about_galleryType == "autoviewer" then write( [[
  244. ]] ) if mode == 'preview' then write( [[
  245. <div id="about_frame">
  246. <div id="about_flashcontent">
  247. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  248. <p><strong>Setup Instructions</strong></p>
  249. <p>Export an Autoviewer gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-autoviewer/">TTG Autoviewer</a> or Airtight Autoviewer web engine. Name the export folder "about_autoviewer" and copy it into the exported TTG Pages folder.</p>
  250. </div>
  251. </div>
  252. </div>
  253. ]] ) else write( [[
  254. <div id="about_frame">
  255. <div id="about_flashcontent"></div>
  256. <script language="JavaScript">
  257. var flashvars = {
  258. // langOpenImage: "Open Image in New Window",
  259. // langAbout: "About",
  260. xmlURL: "gallery.xml"
  261. }
  262. var params = {
  263. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  264. scale: "noscale",
  265. base: "about_autoviewer/"
  266. }
  267. var attributes = {
  268. }
  269. swfobject.embedSWF("about_autoviewer/viewer.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
  270. </script>
  271. </div>
  272. ]] ) end write( [[
  273. ]] ) elseif model.nonCSS.about_galleryType == "dimin" then write( [[
  274. ]] ) if mode == 'preview' then write( [[
  275. <div id="about_frame">
  276. <div id="about_flashcontent">
  277. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  278. <p><strong>Setup Instructions</strong></p>
  279. <p>Export a gallery using the <a href="http://dimin.m6.net/software/lightroom/">DIMIN Slideshow</a> web engine. Name the export folder "about_dimin" and copy it into the exported TTG Pages folder.</p>
  280. </div>
  281. </div>
  282. </div>
  283. ]] ) else write( [[
  284. <div id="about_frame">
  285. <div id="about_flashcontent">DIMIN Slideshow requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash here.</a></div>
  286. <script language="JavaScript">
  287. var flashvars = {
  288. width: "]] )write( model.nonCSS.about_gallery_width )write( [[",
  289. height: "]] )write( model.nonCSS.about_gallery_height )write( [[",
  290. file: "slideshow.xml"
  291. }
  292. var params = {
  293. allowfullscreen: "true",
  294. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  295. base: "about_dimin/"
  296. }
  297. var attributes = {
  298. }
  299. swfobject.embedSWF("about_dimin/imagerotator.swf", "about_flashcontent", "]] )write( model.nonCSS.about_gallery_width )write( [[", "]] )write( model.nonCSS.about_gallery_height )write( [[", "7", false, flashvars, params, attributes);
  300. </script>
  301. </div>
  302. ]] ) end write( [[
  303. ]] ) elseif model.nonCSS.about_galleryType == "flashnifties" then write( [[
  304. ]] ) if mode == 'preview' then write( [[
  305. <div id="about_frame">
  306. <div id="about_flashcontent">
  307. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  308. <p><strong>Setup Instructions</strong></p>
  309. <p>Export a gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-flashnifties/">TTG Flashnifties</a> web engine. Name the export folder "about_flashnifties" and copy it into the exported TTG Pages folder.</p>
  310. </div>
  311. </div>
  312. </div>
  313. ]] ) else write( [[
  314. <div id="about_frame">
  315. <div id="about_flashcontent">This gallery requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  316. <script language="JavaScript">
  317. var flashvars = {
  318. }
  319. var params = {
  320. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  321. base: "about_flashnifties/"
  322. }
  323. var attributes = {
  324. }
  325. swfobject.embedSWF("about_flashnifties/xmlGallery.swf", "about_flashcontent", "100%", "100%", "6", false, flashvars, params, attributes);
  326. </script>
  327. </div>
  328. ]] ) end write( [[
  329. ]] ) elseif model.nonCSS.about_galleryType == "flickr" then write( [[
  330. ]] ) if mode == 'preview' then write( [[
  331. <div id="about_frame">
  332. <div id="about_flashcontent">
  333. <div id="flickr" style="padding:1em;font-size:11px;line-height:17px;">
  334. <p><strong>Flickr Setup</strong></p>
  335. <p>Input your Flickr username and the ID number of the Flickr Set you wish to display into the "Flickr Username" and "Flickr Set ID" fields, respectively.</p>
  336. <p>To get the Flickr Set ID, visit your set on Flickr. The URL for the set will look like this: http://www.flickr.com/photos/username/sets/<span style="color:#f00 !important;">#################</span>/.</p>
  337. <p>The number, shown here in red, is the set ID. Copy and paste that number into the "Flickr Set ID" field in the Appearance pane.</p>
  338. <p>TTG Stage will only display <strong>sets</strong>, not collections, nor photostreams. The gallery will not display here in the LR preview, but will appear in the exported gallery, or when previewed in a browser.</p>
  339. <p>The URL that will be displayed in your gallery is:</p>
  340. <p><a href="http://www.flickr.com/photos/]] )write( model.nonCSS.about_flickrUser )write( [[/sets/]] )write( model.nonCSS.about_flickrSet )write( [[/">http://www.flickr.com/photos/]] )write( model.nonCSS.about_flickrUser )write( [[/sets/]] )write( model.nonCSS.about_flickrSet )write( [[/</a></p>
  341. <p>Check that the URL is correct by clicking on it and verifying its destination.</p>
  342. </div>
  343. </div>
  344. </div>
  345. ]] ) else write( [[
  346. <div id="about_frame">
  347. <div id="about_flashcontent">Flash is required to view this gallery. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  348. <script language="JavaScript">
  349. var flashvars = {
  350. offsite: "true",
  351. lang: "en-us",
  352. page_show_url: "/photos/]] )write( model.nonCSS.about_flickrUser )write( [[/sets/]] )write( model.nonCSS.about_flickrSet )write( [[/show/",
  353. set_id: "]] )write( model.nonCSS.about_flickrSet )write( [[",
  354. page_show_back_url: "/photos/]] )write( model.nonCSS.about_flickrUser )write( [[/sets/]] )write( model.nonCSS.about_flickrSet )write( [[/",
  355. jump_to: ""
  356. }
  357. var params = {
  358. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  359. allowfullscreen: "true"
  360. }
  361. var attributes = {
  362. }
  363. swfobject.embedSWF("http://www.flickr.com/apps/slideshow/show.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
  364. </script>
  365. </div>
  366. ]] ) end write( [[
  367. ]] ) elseif model.nonCSS.about_galleryType == "lightroomflashgallery" then write( [[
  368. ]] ) if mode == 'preview' then write( [[
  369. <div id="about_frame">
  370. <div id="about_flashcontent">
  371. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  372. <p><strong>Setup Instructions</strong></p>
  373. <p>Export a gallery using the Lightroom Flash Gallery web engine. Name the export folder "about_lightroomflashgallery" and copy it into the exported TTG Pages folder.</p>
  374. </div>
  375. </div>
  376. </div>
  377. ]] ) else write( [[
  378. <div id="about_frame">
  379. <div id="about_flashcontent">
  380. <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
  381. width="100%" height="100%"
  382. codebase="http://download.macromedia.com/pub/shockwave/
  383. cabs/flash/swflash.cab">
  384. <param name="movie" value="about_lightroomflashgallery/resources/gallery.swf"/>
  385. <param name="flashvars"
  386. value="livePreview=false
  387. &baseRefUrl=about_lightroomflashgallery/
  388. &groupxml=resources/mediaGroupData/group.xml
  389. &stylexml=resources/styles/style.xml
  390. &localText=resources/localization/localText.xml"/>
  391. <param name="id" value="gallery"/>
  392. <param name="quality" value="high"/>
  393. <param name="align" value="middle"/>
  394. <param name="name" value="gallery"/>
  395. <param name="bgcolor" value="#f7f7f7"/>
  396. <param name="allowScriptAccess" value="sameDomain"/>
  397. <param name="menu" value="true"/>
  398. <embed src="about_lightroomflashgallery/resources/gallery.swf"
  399. type="application/x-shockwave-flash"
  400. pluginspage="http://www.macromedia.com/go/getflashplayer"
  401. flashvars="livePreview=false
  402. &baseRefUrl=about_lightroomflashgallery/
  403. &groupxml=resources/mediaGroupData/group.xml
  404. &stylexml=resources/styles/style.xml
  405. &localText=resources/localization/localText.xml"
  406. width="100%" height="100%" quality="high" align="middle"
  407. allowScriptAccess="sameDomain">
  408. </embed>
  409. </object>
  410. </div>
  411. </div>
  412. ]] ) end write( [[
  413. ]] ) elseif model.nonCSS.about_galleryType == "monoslideshow" then write( [[
  414. ]] ) if mode == 'preview' then write( [[
  415. <div id="about_frame">
  416. <div id="about_flashcontent">
  417. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  418. <p><strong>Setup Instructions</strong></p>
  419. <p>Export a gallery using the (discontinued) TTG MonoSlideshow web engine, or create a Monoslideshow gallery on your own. Name the export folder "about_monoslideshow" and copy it into the exported TTG Pages folder.</p>
  420. </div>
  421. </div>
  422. </div>
  423. ]] ) else write( [[
  424. <div id="about_frame">
  425. <div id="about_flashcontent">
  426. <p><strong>Please install Flash® and turn on Javascript.</strong></p>
  427. </div>
  428. <script language="JavaScript">
  429. var flashvars = {
  430. showLogo: "false"
  431. }
  432. var params = {
  433. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  434. base: "about_monoslideshow/"
  435. }
  436. var attributes = {
  437. }
  438. swfobject.embedSWF("about_monoslideshow/monoslideshow.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
  439. </script>
  440. </div>
  441. ]] ) end write( [[
  442. ]] ) elseif model.nonCSS.about_galleryType == "monoslideshow2" then write( [[
  443. ]] ) if mode == 'preview' then write( [[
  444. <div id="about_frame">
  445. <div id="about_flashcontent">
  446. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  447. <p><strong>Setup Instructions</strong></p>
  448. <p>Export a gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-monoslideshow/">TTG MonoSlideshow</a> web engine. Name the export folder "about_monoslideshow" and copy it into the exported TTG Pages folder.</p>
  449. </div>
  450. </div>
  451. </div>
  452. ]] ) else write( [[
  453. <div id="about_frame">
  454. <div id="about_flashcontent">
  455. <p>Please <a href="http://get.adobe.com/flashplayer/">install Flash®</a> and turn on Javascript.</p>
  456. </div>
  457. <script type="text/javascript">
  458. var flashvars = {showLogo: "false", showRegistration: "false"};
  459. var params = {allowScriptAccess: "sameDomain", allowfullscreen: "true", allowNetworking: "all", base: "about_monoslideshow/"};
  460. var attributes = {id: "monoslideshow", name: "monoslideshow", bgColor: "]] )write( model.nonCSS.about_stageBGC )write( [["};
  461. swfobject.embedSWF("about_monoslideshow/monoslideshow.swf", "about_flashcontent", "100%", "100%", "9", false, flashvars, params, attributes);
  462. </script>
  463. </div>
  464. ]] ) end write( [[
  465. ]] ) elseif model.nonCSS.about_galleryType == "polaroid" then write( [[
  466. ]] ) if mode == 'preview' then write( [[
  467. <div id="about_frame">
  468. <div id="about_flashcontent">
  469. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  470. <p><strong>Setup Instructions</strong></p>
  471. <p>Export a gallery using the <a style="color:#e5a638 !important;" href="http://lightroom.theturninggate.net/flash-galleries/ttg-polaroid-gallery/">TTG Polaroid Gallery</a> web engine. Name the export folder "about_polaroid" and copy it into the exported TTG Pages folder.</p>
  472. </div>
  473. </div>
  474. </div>
  475. ]] ) else write( [[
  476. <div id="about_frame">
  477. <div id="about_flashcontent">This gallery requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  478. <script language="JavaScript">
  479. var flashvars = {
  480. xmlURL: "photos.xml"
  481. }
  482. var params = {
  483. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  484. base: "about_polaroid/"
  485. }
  486. var attributes = {
  487. }
  488. swfobject.embedSWF("about_polaroid/polaroid.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
  489. </script>
  490. </div>
  491. ]] ) end write( [[
  492. ]] ) elseif model.nonCSS.about_galleryType == "postcardviewer" then write( [[
  493. ]] ) if mode == 'preview' then write( [[
  494. <div id="about_frame">
  495. <div id="about_flashcontent">
  496. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  497. <p><strong>Setup Instructions</strong></p>
  498. <p>Export a PostcardViewer gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-postcardviewer/">TTG PostcardViewer</a> or Airtight PostcardViewer web engine. Name the export folder "about_postcardviewer" and copy it into the exported TTG Pages folder.</p>
  499. </div>
  500. </div>
  501. </div>
  502. ]] ) else write( [[
  503. <div id="about_frame">
  504. <div id="about_flashcontent">PostcardViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash here.</a> </div>
  505. <script language="JavaScript">
  506. var flashvars = {
  507. // langOpenImage: "Open Image in New Window",
  508. // langAbout: "About",
  509. xmlURL: "gallery.xml"
  510. }
  511. var params = {
  512. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  513. base: "about_postcardviewer/"
  514. }
  515. var attributes = {
  516. }
  517. swfobject.embedSWF("about_postcardviewer/viewer.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
  518. </script>
  519. </div>
  520. ]] ) end write( [[
  521. ]] ) elseif model.nonCSS.about_galleryType == "simpleviewer" then write( [[
  522. ]] ) if mode == 'preview' then write( [[
  523. <div id="about_frame">
  524. <div id="about_flashcontent">
  525. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  526. <p><strong>Setup Instructions</strong></p>
  527. <p>Export a Simpleviewer gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-simpleviewer/">TTG Simpleviewer</a> or Airtight Simpleviewer web engine. Name the export folder "about_simpleviewer" and copy it into the exported TTG Pages folder.</p>
  528. </div>
  529. </div>
  530. </div>
  531. ]] ) else write( [[
  532. <div id="about_frame">
  533. <div id="about_flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  534. <script language="JavaScript">
  535. var flashvars = {
  536. // langOpenImage: "Open Image in New Window",
  537. // langAbout: "About",
  538. preloaderColor: "0xffffff",
  539. xmlDataPath: "gallery.xml"
  540. }
  541. var params = {
  542. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  543. base: "about_simpleviewer/"
  544. }
  545. var attributes = {
  546. }
  547. swfobject.embedSWF("about_simpleviewer/viewer.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
  548. </script>
  549. </div>
  550. ]] ) end write( [[
  551. ]] ) elseif model.nonCSS.about_galleryType == "simpleviewer2" then write( [[
  552. ]] ) if mode == 'preview' then write( [[
  553. <div id="about_frame">
  554. <div id="about_flashcontent">
  555. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  556. <p><strong>Setup Instructions</strong></p>
  557. <p>Export a Simpleviewer gallery using the <a style="color:#e5a638 !important;" href="http://lightroom.theturninggate.net/flash-galleries/ttg-simpleviewer/">TTG Simpleviewer-2</a> web engine. Name the export folder "about_simpleviewer" and copy it into the exported TTG Stage folder.</p>
  558. </div>
  559. </div>
  560. </div>
  561. ]] ) else write( [[
  562. <div id="about_frame">
  563. <div id="about_flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  564. <script type="text/javascript">
  565. var flashvars = {};
  566. flashvars.baseURL="about_simpleviewer/";
  567. flashvars.galleryURL = "gallery.xml";
  568. var params = {};
  569. params.allowfullscreen = true;
  570. params.allowscriptaccess = "always";
  571. params.bgcolor = "]] )write( model.nonCSS.about_stageBGC )write( [[";
  572. swfobject.embedSWF("about_simpleviewer/simpleviewer.swf", "about_flashcontent", "100%", "100%", "9.0.124", false, flashvars, params);
  573. </script>
  574. </div>
  575. ]] ) end write( [[
  576. ]] ) elseif model.nonCSS.about_galleryType == "slideshowpro" then write( [[
  577. ]] ) if mode == 'preview' then write( [[
  578. <div id="about_frame">
  579. <div id="about_flashcontent">
  580. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  581. <p><strong>Setup Instructions</strong></p>
  582. <p>Export a gallery using the <a href="http://www.slideshowpro.net">Slideshow Pro</a> web engine. Name the export folder "about_slideshowpro" and copy it into the exported TTG Pages folder.</p>
  583. </div>
  584. </div>
  585. </div>
  586. ]] ) else write( [[
  587. <div id="about_frame">
  588. <div id="about_flashcontent">
  589. This SlideShowPro photo gallery requires the Flash Player plugin and a web browser with JavaScript enabled.
  590. </div>
  591. <script language="JavaScript">
  592. <!--
  593. // Permalinks option
  594. function flashPutHref(href) { location.href = href; }
  595. // Expand browser option
  596. var eB = false;
  597. if (eB) {
  598. window.moveTo(0,0);
  599. window.resizeTo (screen.availWidth, screen.availHeight);
  600. }
  601. // swffit sizing
  602. var swf_pad = 20;
  603. function initSwffit(w,h) {
  604. // If you change name of the DIV the SWF is written at,
  605. // change 'flashcontent' to the name of your DIV.
  606. swffit.fit('about_flashcontent',w+swf_pad,h+swf_pad);
  607. }
  608. // SWFObject embed
  609. var flashvars = {
  610. paramXMLPath: "param.xml",
  611. initialURL: escape(document.location)
  612. }
  613. var params = {
  614. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  615. allowfullscreen: "true",
  616. base: "about_slideshowpro/"
  617. }
  618. var attributes = {}
  619. swfobject.embedSWF("about_slideshowpro/loader.swf", "about_flashcontent", "100%", "100%", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
  620. /* below required for google chrome embed issue */
  621. swffit.fit('about_flashcontent',0,0);
  622. -->
  623. </script>
  624. </div> <!-- /frame -->
  625. ]] ) end write( [[
  626. ]] ) end write( [[
  627. ]] ) else write( [[
  628. <img src="photos/]] )write( getImage(2).exportFilename )write( [[.jpg" class="page_img" width="]] )write( getImage(2).renditions.photos.width )write( [[" height="]] )write( getImage(2).renditions.photos.height )write( [[" alt="]] )write( getImage(2).metadata.alt )write( [[" style="float:left;" />
  629. ]] ) end write( [[
  630. ]] ) if model.nonCSS.about_stage then write( [[
  631. <div class="copy" style="float:right; width: ]] )write( math.floor( model.nonCSS.aboutWidth - ( model.nonCSS.page_content_padding * 2 ) - ( model.nonCSS.page_content_border * 2 ) - model.nonCSS.spacing - model.nonCSS.about_stage_width ) )write( [[px;">
  632. ]] ) else write( [[
  633. <div class="copy" style="float:right; width: ]] )write( math.floor( model.nonCSS.aboutWidth - ( model.nonCSS.page_content_padding * 2 ) - ( model.nonCSS.page_content_border * 2 ) - model.nonCSS.spacing - ( ( model.nonCSS.imagePadding + model.nonCSS.imageBorderWidth ) * 2 ) - getImage(2).renditions.photos.width ) )write( [[px;">
  634. ]] ) end write( [[
  635. ]] ) if model.nonCSS.includeAboutHeading1 then write( [[<h2 id="metadata.aboutHeading1.value" class="first heading heading_about"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutHeading1.value');"]] ) end write( [[>]] )write( model.metadata.aboutHeading1.value )write( [[</h2>]] ) end write( [[
  636. ]] ) if model.nonCSS.includeAboutParagraph1 then write( [[<p id="nonCSS.aboutParagraph1.value"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutParagraph1.value');"]] ) end write( [[>]] )write( model.metadata.aboutParagraph1.value )write( [[</p>]] ) end write( [[
  637. ]] ) if model.nonCSS.includeAboutHeading2 then write( [[<h2 id="metadata.aboutHeading2.value" class="subsequent heading heading_about"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutHeading2.value');"]] ) end write( [[>]] )write( model.metadata.aboutHeading2.value )write( [[</h2>]] ) end write( [[
  638. ]] ) if model.nonCSS.includeAboutParagraph2 then write( [[<p id="nonCSS.aboutParagraph2.value"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutParagraph2.value');"]] ) end write( [[>]] )write( model.metadata.aboutParagraph2.value )write( [[</p>]] ) end write( [[
  639. ]] ) if model.nonCSS.includeAboutHeading3 then write( [[<h2 id="metadata.aboutHeading3.value" class="subsequent heading heading_about"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutHeading3.value');"]] ) end write( [[>]] )write( model.metadata.aboutHeading3.value )write( [[</h2>]] ) end write( [[
  640. ]] ) if model.nonCSS.includeAboutParagraph3 then write( [[<p id="nonCSS.aboutParagraph3.value"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutParagraph3.value');"]] ) end write( [[>]] )write( model.metadata.aboutParagraph3.value )write( [[</p>]] ) end write( [[
  641. ]] ) if model.nonCSS.includeAboutHeading4 then write( [[<h2 id="metadata.aboutHeading4.value" class="subsequent heading heading_about"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutHeading4.value');"]] ) end write( [[>]] )write( model.metadata.aboutHeading4.value )write( [[</h2>]] ) end write( [[
  642. ]] ) if model.nonCSS.includeAboutParagraph4 then write( [[<p id="nonCSS.aboutParagraph4.value"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutParagraph4.value');"]] ) end write( [[>]] )write( model.metadata.aboutParagraph4.value )write( [[</p>]] ) end write( [[
  643. ]] ) if model.nonCSS.includeAboutHeading5 then write( [[<h2 id="metadata.aboutHeading5.value" class="subsequent heading heading_about"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutHeading5.value');"]] ) end write( [[>]] )write( model.metadata.aboutHeading5.value )write( [[</h2>]] ) end write( [[
  644. ]] ) if model.nonCSS.includeAboutParagraph5 then write( [[<p id="nonCSS.aboutParagraph5.value"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutParagraph5.value');"]] ) end write( [[>]] )write( model.metadata.aboutParagraph5.value )write( [[</p>]] ) end write( [[
  645. </div>
  646. <div class="clear"></div>
  647. </div> <!-- /page_content home -->
  648. ]] ) elseif model.nonCSS.aboutConfiguration == "copyleftimageright" then write( [[
  649. <div id="page_content" class="about">
  650. ]] ) if model.nonCSS.about_stage then write( [[
  651. <style type="text/css">
  652. #about_frame { float: right; }
  653. </style>
  654. ]] ) if model.nonCSS.about_galleryType == "none" then write( [[
  655. <div id="about_frame">
  656. <div id="about_flashcontent">
  657. <p style="margin: 0 !important;">You have chosen to replace this image with a Flash gallery. Please select a Gallery Type from the Appearance pane so that we can properly prepare the stage for your gallery.</p>
  658. </div>
  659. </div>
  660. ]] ) elseif model.nonCSS.about_galleryType == "autoviewer" then write( [[
  661. ]] ) if mode == 'preview' then write( [[
  662. <div id="about_frame">
  663. <div id="about_flashcontent">
  664. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  665. <p><strong>Setup Instructions</strong></p>
  666. <p>Export an Autoviewer gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-autoviewer/">TTG Autoviewer</a> or Airtight Autoviewer web engine. Name the export folder "about_autoviewer" and copy it into the exported TTG Pages folder.</p>
  667. </div>
  668. </div>
  669. </div>
  670. ]] ) else write( [[
  671. <div id="about_frame">
  672. <div id="about_flashcontent"></div>
  673. <script language="JavaScript">
  674. var flashvars = {
  675. // langOpenImage: "Open Image in New Window",
  676. // langAbout: "About",
  677. xmlURL: "gallery.xml"
  678. }
  679. var params = {
  680. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  681. scale: "noscale",
  682. base: "about_autoviewer/"
  683. }
  684. var attributes = {
  685. }
  686. swfobject.embedSWF("about_autoviewer/viewer.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
  687. </script>
  688. </div>
  689. ]] ) end write( [[
  690. ]] ) elseif model.nonCSS.about_galleryType == "dimin" then write( [[
  691. ]] ) if mode == 'preview' then write( [[
  692. <div id="about_frame">
  693. <div id="about_flashcontent">
  694. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  695. <p><strong>Setup Instructions</strong></p>
  696. <p>Export a gallery using the <a href="http://dimin.m6.net/software/lightroom/">DIMIN Slideshow</a> web engine. Name the export folder "about_dimin" and copy it into the exported TTG Pages folder.</p>
  697. </div>
  698. </div>
  699. </div>
  700. ]] ) else write( [[
  701. <div id="about_frame">
  702. <div id="about_flashcontent">DIMIN Slideshow requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash here.</a></div>
  703. <script language="JavaScript">
  704. var flashvars = {
  705. width: "]] )write( model.nonCSS.about_gallery_width )write( [[",
  706. height: "]] )write( model.nonCSS.about_gallery_height )write( [[",
  707. file: "slideshow.xml"
  708. }
  709. var params = {
  710. allowfullscreen: "true",
  711. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  712. base: "about_dimin/"
  713. }
  714. var attributes = {
  715. }
  716. swfobject.embedSWF("about_dimin/imagerotator.swf", "about_flashcontent", "]] )write( model.nonCSS.about_gallery_width )write( [[", "]] )write( model.nonCSS.about_gallery_height )write( [[", "7", false, flashvars, params, attributes);
  717. </script>
  718. </div>
  719. ]] ) end write( [[
  720. ]] ) elseif model.nonCSS.about_galleryType == "flashnifties" then write( [[
  721. ]] ) if mode == 'preview' then write( [[
  722. <div id="about_frame">
  723. <div id="about_flashcontent">
  724. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  725. <p><strong>Setup Instructions</strong></p>
  726. <p>Export a gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-flashnifties/">TTG Flashnifties</a> web engine. Name the export folder "about_flashnifties" and copy it into the exported TTG Pages folder.</p>
  727. </div>
  728. </div>
  729. </div>
  730. ]] ) else write( [[
  731. <div id="about_frame">
  732. <div id="about_flashcontent">This gallery requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  733. <script language="JavaScript">
  734. var flashvars = {
  735. }
  736. var params = {
  737. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  738. base: "about_flashnifties/"
  739. }
  740. var attributes = {
  741. }
  742. swfobject.embedSWF("about_flashnifties/xmlGallery.swf", "about_flashcontent", "100%", "100%", "6", false, flashvars, params, attributes);
  743. </script>
  744. </div>
  745. ]] ) end write( [[
  746. ]] ) elseif model.nonCSS.about_galleryType == "flickr" then write( [[
  747. ]] ) if mode == 'preview' then write( [[
  748. <div id="about_frame">
  749. <div id="about_flashcontent">
  750. <div id="flickr" style="padding:1em;font-size:11px;line-height:17px;">
  751. <p><strong>Flickr Setup</strong></p>
  752. <p>Input your Flickr username and the ID number of the Flickr Set you wish to display into the "Flickr Username" and "Flickr Set ID" fields, respectively.</p>
  753. <p>To get the Flickr Set ID, visit your set on Flickr. The URL for the set will look like this: http://www.flickr.com/photos/username/sets/<span style="color:#f00 !important;">#################</span>/.</p>
  754. <p>The number, shown here in red, is the set ID. Copy and paste that number into the "Flickr Set ID" field in the Appearance pane.</p>
  755. <p>TTG Stage will only display <strong>sets</strong>, not collections, nor photostreams. The gallery will not display here in the LR preview, but will appear in the exported gallery, or when previewed in a browser.</p>
  756. <p>The URL that will be displayed in your gallery is:</p>
  757. <p><a href="http://www.flickr.com/photos/]] )write( model.nonCSS.about_flickrUser )write( [[/sets/]] )write( model.nonCSS.about_flickrSet )write( [[/">http://www.flickr.com/photos/]] )write( model.nonCSS.about_flickrUser )write( [[/sets/]] )write( model.nonCSS.about_flickrSet )write( [[/</a></p>
  758. <p>Check that the URL is correct by clicking on it and verifying its destination.</p>
  759. </div>
  760. </div>
  761. </div>
  762. ]] ) else write( [[
  763. <div id="about_frame">
  764. <div id="about_flashcontent">Flash is required to view this gallery. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  765. <script language="JavaScript">
  766. var flashvars = {
  767. offsite: "true",
  768. lang: "en-us",
  769. page_show_url: "/photos/]] )write( model.nonCSS.about_flickrUser )write( [[/sets/]] )write( model.nonCSS.about_flickrSet )write( [[/show/",
  770. set_id: "]] )write( model.nonCSS.about_flickrSet )write( [[",
  771. page_show_back_url: "/photos/]] )write( model.nonCSS.about_flickrUser )write( [[/sets/]] )write( model.nonCSS.about_flickrSet )write( [[/",
  772. jump_to: ""
  773. }
  774. var params = {
  775. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  776. allowfullscreen: "true"
  777. }
  778. var attributes = {
  779. }
  780. swfobject.embedSWF("http://www.flickr.com/apps/slideshow/show.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
  781. </script>
  782. </div>
  783. ]] ) end write( [[
  784. ]] ) elseif model.nonCSS.about_galleryType == "lightroomflashgallery" then write( [[
  785. ]] ) if mode == 'preview' then write( [[
  786. <div id="about_frame">
  787. <div id="about_flashcontent">
  788. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  789. <p><strong>Setup Instructions</strong></p>
  790. <p>Export a gallery using the Lightroom Flash Gallery web engine. Name the export folder "about_lightroomflashgallery" and copy it into the exported TTG Pages folder.</p>
  791. </div>
  792. </div>
  793. </div>
  794. ]] ) else write( [[
  795. <div id="about_frame">
  796. <div id="about_flashcontent">
  797. <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
  798. width="100%" height="100%"
  799. codebase="http://download.macromedia.com/pub/shockwave/
  800. cabs/flash/swflash.cab">
  801. <param name="movie" value="about_lightroomflashgallery/resources/gallery.swf"/>
  802. <param name="flashvars"
  803. value="livePreview=false
  804. &baseRefUrl=about_lightroomflashgallery/
  805. &groupxml=resources/mediaGroupData/group.xml
  806. &stylexml=resources/styles/style.xml
  807. &localText=resources/localization/localText.xml"/>
  808. <param name="id" value="gallery"/>
  809. <param name="quality" value="high"/>
  810. <param name="align" value="middle"/>
  811. <param name="name" value="gallery"/>
  812. <param name="bgcolor" value="#f7f7f7"/>
  813. <param name="allowScriptAccess" value="sameDomain"/>
  814. <param name="menu" value="true"/>
  815. <embed src="about_lightroomflashgallery/resources/gallery.swf"
  816. type="application/x-shockwave-flash"
  817. pluginspage="http://www.macromedia.com/go/getflashplayer"
  818. flashvars="livePreview=false
  819. &baseRefUrl=about_lightroomflashgallery/
  820. &groupxml=resources/mediaGroupData/group.xml
  821. &stylexml=resources/styles/style.xml
  822. &localText=resources/localization/localText.xml"
  823. width="100%" height="100%" quality="high" align="middle"
  824. allowScriptAccess="sameDomain">
  825. </embed>
  826. </object>
  827. </div>
  828. </div>
  829. ]] ) end write( [[
  830. ]] ) elseif model.nonCSS.about_galleryType == "monoslideshow" then write( [[
  831. ]] ) if mode == 'preview' then write( [[
  832. <div id="about_frame">
  833. <div id="about_flashcontent">
  834. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  835. <p><strong>Setup Instructions</strong></p>
  836. <p>Export a gallery using the (discontinued) TTG MonoSlideshow web engine, or create a Monoslideshow gallery on your own. Name the export folder "about_monoslideshow" and copy it into the exported TTG Pages folder.</p>
  837. </div>
  838. </div>
  839. </div>
  840. ]] ) else write( [[
  841. <div id="about_frame">
  842. <div id="about_flashcontent">
  843. <p><strong>Please install Flash® and turn on Javascript.</strong></p>
  844. </div>
  845. <script language="JavaScript">
  846. var flashvars = {
  847. showLogo: "false"
  848. }
  849. var params = {
  850. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  851. base: "about_monoslideshow/"
  852. }
  853. var attributes = {
  854. }
  855. swfobject.embedSWF("about_monoslideshow/monoslideshow.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
  856. </script>
  857. </div>
  858. ]] ) end write( [[
  859. ]] ) elseif model.nonCSS.about_galleryType == "monoslideshow2" then write( [[
  860. ]] ) if mode == 'preview' then write( [[
  861. <div id="about_frame">
  862. <div id="about_flashcontent">
  863. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  864. <p><strong>Setup Instructions</strong></p>
  865. <p>Export a gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-monoslideshow/">TTG MonoSlideshow</a> web engine. Name the export folder "about_monoslideshow" and copy it into the exported TTG Pages folder.</p>
  866. </div>
  867. </div>
  868. </div>
  869. ]] ) else write( [[
  870. <div id="about_frame">
  871. <div id="about_flashcontent">
  872. <p>Please <a href="http://get.adobe.com/flashplayer/">install Flash®</a> and turn on Javascript.</p>
  873. </div>
  874. <script type="text/javascript">
  875. var flashvars = {showLogo: "false", showRegistration: "false"};
  876. var params = {allowScriptAccess: "sameDomain", allowfullscreen: "true", allowNetworking: "all", base: "about_monoslideshow/"};
  877. var attributes = {id: "monoslideshow", name: "monoslideshow", bgColor: "]] )write( model.nonCSS.about_stageBGC )write( [["};
  878. swfobject.embedSWF("about_monoslideshow/monoslideshow.swf", "about_flashcontent", "100%", "100%", "9", false, flashvars, params, attributes);
  879. </script>
  880. </div>
  881. ]] ) end write( [[
  882. ]] ) elseif model.nonCSS.about_galleryType == "polaroid" then write( [[
  883. ]] ) if mode == 'preview' then write( [[
  884. <div id="about_frame">
  885. <div id="about_flashcontent">
  886. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  887. <p><strong>Setup Instructions</strong></p>
  888. <p>Export a gallery using the <a style="color:#e5a638 !important;" href="http://lightroom.theturninggate.net/flash-galleries/ttg-polaroid-gallery/">TTG Polaroid Gallery</a> web engine. Name the export folder "about_polaroid" and copy it into the exported TTG Pages folder.</p>
  889. </div>
  890. </div>
  891. </div>
  892. ]] ) else write( [[
  893. <div id="about_frame">
  894. <div id="about_flashcontent">This gallery requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  895. <script language="JavaScript">
  896. var flashvars = {
  897. xmlURL: "photos.xml"
  898. }
  899. var params = {
  900. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  901. base: "about_polaroid/"
  902. }
  903. var attributes = {
  904. }
  905. swfobject.embedSWF("about_polaroid/polaroid.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
  906. </script>
  907. </div>
  908. ]] ) end write( [[
  909. ]] ) elseif model.nonCSS.about_galleryType == "postcardviewer" then write( [[
  910. ]] ) if mode == 'preview' then write( [[
  911. <div id="about_frame">
  912. <div id="about_flashcontent">
  913. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  914. <p><strong>Setup Instructions</strong></p>
  915. <p>Export a PostcardViewer gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-postcardviewer/">TTG PostcardViewer</a> or Airtight PostcardViewer web engine. Name the export folder "about_postcardviewer" and copy it into the exported TTG Pages folder.</p>
  916. </div>
  917. </div>
  918. </div>
  919. ]] ) else write( [[
  920. <div id="about_frame">
  921. <div id="about_flashcontent">PostcardViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash here.</a> </div>
  922. <script language="JavaScript">
  923. var flashvars = {
  924. // langOpenImage: "Open Image in New Window",
  925. // langAbout: "About",
  926. xmlURL: "gallery.xml"
  927. }
  928. var params = {
  929. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  930. base: "about_postcardviewer/"
  931. }
  932. var attributes = {
  933. }
  934. swfobject.embedSWF("about_postcardviewer/viewer.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
  935. </script>
  936. </div>
  937. ]] ) end write( [[
  938. ]] ) elseif model.nonCSS.about_galleryType == "simpleviewer" then write( [[
  939. ]] ) if mode == 'preview' then write( [[
  940. <div id="about_frame">
  941. <div id="about_flashcontent">
  942. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  943. <p><strong>Setup Instructions</strong></p>
  944. <p>Export a Simpleviewer gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-simpleviewer/">TTG Simpleviewer</a> or Airtight Simpleviewer web engine. Name the export folder "about_simpleviewer" and copy it into the exported TTG Pages folder.</p>
  945. </div>
  946. </div>
  947. </div>
  948. ]] ) else write( [[
  949. <div id="about_frame">
  950. <div id="about_flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  951. <script language="JavaScript">
  952. var flashvars = {
  953. // langOpenImage: "Open Image in New Window",
  954. // langAbout: "About",
  955. preloaderColor: "0xffffff",
  956. xmlDataPath: "gallery.xml"
  957. }
  958. var params = {
  959. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  960. base: "about_simpleviewer/"
  961. }
  962. var attributes = {
  963. }
  964. swfobject.embedSWF("about_simpleviewer/viewer.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
  965. </script>
  966. </div>
  967. ]] ) end write( [[
  968. ]] ) elseif model.nonCSS.about_galleryType == "simpleviewer2" then write( [[
  969. ]] ) if mode == 'preview' then write( [[
  970. <div id="about_frame">
  971. <div id="about_flashcontent">
  972. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  973. <p><strong>Setup Instructions</strong></p>
  974. <p>Export a Simpleviewer gallery using the <a style="color:#e5a638 !important;" href="http://lightroom.theturninggate.net/flash-galleries/ttg-simpleviewer/">TTG Simpleviewer-2</a> web engine. Name the export folder "about_simpleviewer" and copy it into the exported TTG Stage folder.</p>
  975. </div>
  976. </div>
  977. </div>
  978. ]] ) else write( [[
  979. <div id="about_frame">
  980. <div id="about_flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  981. <script type="text/javascript">
  982. var flashvars = {};
  983. flashvars.baseURL="about_simpleviewer/";
  984. flashvars.galleryURL = "gallery.xml";
  985. var params = {};
  986. params.allowfullscreen = true;
  987. params.allowscriptaccess = "always";
  988. params.bgcolor = "]] )write( model.nonCSS.about_stageBGC )write( [[";
  989. swfobject.embedSWF("about_simpleviewer/simpleviewer.swf", "about_flashcontent", "100%", "100%", "9.0.124", false, flashvars, params);
  990. </script>
  991. </div>
  992. ]] ) end write( [[
  993. ]] ) elseif model.nonCSS.about_galleryType == "slideshowpro" then write( [[
  994. ]] ) if mode == 'preview' then write( [[
  995. <div id="about_frame">
  996. <div id="about_flashcontent">
  997. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  998. <p><strong>Setup Instructions</strong></p>
  999. <p>Export a gallery using the <a href="http://www.slideshowpro.net">Slideshow Pro</a> web engine. Name the export folder "about_slideshowpro" and copy it into the exported TTG Pages folder.</p>
  1000. </div>
  1001. </div>
  1002. </div>
  1003. ]] ) else write( [[
  1004. <div id="about_frame">
  1005. <div id="about_flashcontent">
  1006. This SlideShowPro photo gallery requires the Flash Player plugin and a web browser with JavaScript enabled.
  1007. </div>
  1008. <script language="JavaScript">
  1009. <!--
  1010. // Permalinks option
  1011. function flashPutHref(href) { location.href = href; }
  1012. // Expand browser option
  1013. var eB = false;
  1014. if (eB) {
  1015. window.moveTo(0,0);
  1016. window.resizeTo (screen.availWidth, screen.availHeight);
  1017. }
  1018. // swffit sizing
  1019. var swf_pad = 20;
  1020. function initSwffit(w,h) {
  1021. // If you change name of the DIV the SWF is written at,
  1022. // change 'flashcontent' to the name of your DIV.
  1023. swffit.fit('about_flashcontent',w+swf_pad,h+swf_pad);
  1024. }
  1025. // SWFObject embed
  1026. var flashvars = {
  1027. paramXMLPath: "param.xml",
  1028. initialURL: escape(document.location)
  1029. }
  1030. var params = {
  1031. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  1032. allowfullscreen: "true",
  1033. base: "about_slideshowpro/"
  1034. }
  1035. var attributes = {}
  1036. swfobject.embedSWF("about_slideshowpro/loader.swf", "about_flashcontent", "100%", "100%", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
  1037. /* below required for google chrome embed issue */
  1038. swffit.fit('about_flashcontent',0,0);
  1039. -->
  1040. </script>
  1041. </div> <!-- /frame -->
  1042. ]] ) end write( [[
  1043. ]] ) end write( [[
  1044. ]] ) else write( [[
  1045. <img src="photos/]] )write( getImage(2).exportFilename )write( [[.jpg" class="page_img" width="]] )write( getImage(2).renditions.photos.width )write( [[" height="]] )write( getImage(2).renditions.photos.height )write( [[" alt="]] )write( getImage(2).metadata.alt )write( [[" style="float:right;" />
  1046. ]] ) end write( [[
  1047. ]] ) if model.nonCSS.about_stage then write( [[
  1048. <div class="copy" style="float:left; width: ]] )write( math.floor( model.nonCSS.aboutWidth - ( model.nonCSS.page_content_padding * 2 ) - ( model.nonCSS.page_content_border * 2 ) - model.nonCSS.spacing - model.nonCSS.about_stage_width ) )write( [[px;">
  1049. ]] ) else write( [[
  1050. <div class="copy" style="float:left; width: ]] )write( math.floor( model.nonCSS.aboutWidth - ( model.nonCSS.page_content_padding * 2 ) - ( model.nonCSS.page_content_border * 2 ) - model.nonCSS.spacing - ( ( model.nonCSS.imagePadding + model.nonCSS.imageBorderWidth ) * 2 ) - getImage(2).renditions.photos.width ) )write( [[px;">
  1051. ]] ) end write( [[
  1052. ]] ) if model.nonCSS.includeAboutHeading1 then write( [[<h2 id="metadata.aboutHeading1.value" class="first heading heading_about"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutHeading1.value');"]] ) end write( [[>]] )write( model.metadata.aboutHeading1.value )write( [[</h2>]] ) end write( [[
  1053. ]] ) if model.nonCSS.includeAboutParagraph1 then write( [[<p id="nonCSS.aboutParagraph1.value"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutParagraph1.value');"]] ) end write( [[>]] )write( model.metadata.aboutParagraph1.value )write( [[</p>]] ) end write( [[
  1054. ]] ) if model.nonCSS.includeAboutHeading2 then write( [[<h2 id="metadata.aboutHeading2.value" class="subsequent heading heading_about"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutHeading2.value');"]] ) end write( [[>]] )write( model.metadata.aboutHeading2.value )write( [[</h2>]] ) end write( [[
  1055. ]] ) if model.nonCSS.includeAboutParagraph2 then write( [[<p id="nonCSS.aboutParagraph2.value"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutParagraph2.value');"]] ) end write( [[>]] )write( model.metadata.aboutParagraph2.value )write( [[</p>]] ) end write( [[
  1056. ]] ) if model.nonCSS.includeAboutHeading3 then write( [[<h2 id="metadata.aboutHeading3.value" class="subsequent heading heading_about"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutHeading3.value');"]] ) end write( [[>]] )write( model.metadata.aboutHeading3.value )write( [[</h2>]] ) end write( [[
  1057. ]] ) if model.nonCSS.includeAboutParagraph3 then write( [[<p id="nonCSS.aboutParagraph3.value"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutParagraph3.value');"]] ) end write( [[>]] )write( model.metadata.aboutParagraph3.value )write( [[</p>]] ) end write( [[
  1058. ]] ) if model.nonCSS.includeAboutHeading4 then write( [[<h2 id="metadata.aboutHeading4.value" class="subsequent heading heading_about"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutHeading4.value');"]] ) end write( [[>]] )write( model.metadata.aboutHeading4.value )write( [[</h2>]] ) end write( [[
  1059. ]] ) if model.nonCSS.includeAboutParagraph4 then write( [[<p id="nonCSS.aboutParagraph4.value"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutParagraph4.value');"]] ) end write( [[>]] )write( model.metadata.aboutParagraph4.value )write( [[</p>]] ) end write( [[
  1060. ]] ) if model.nonCSS.includeAboutHeading5 then write( [[<h2 id="metadata.aboutHeading5.value" class="subsequent heading heading_about"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutHeading5.value');"]] ) end write( [[>]] )write( model.metadata.aboutHeading5.value )write( [[</h2>]] ) end write( [[
  1061. ]] ) if model.nonCSS.includeAboutParagraph5 then write( [[<p id="nonCSS.aboutParagraph5.value"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutParagraph5.value');"]] ) end write( [[>]] )write( model.metadata.aboutParagraph5.value )write( [[</p>]] ) end write( [[
  1062. </div>
  1063. <div class="clear"></div>
  1064. </div> <!-- /page_content home -->
  1065. ]] ) elseif model.nonCSS.aboutConfiguration == "imageupcopydown" then write( [[
  1066. <div id="page_content" class="about">
  1067. ]] ) if model.nonCSS.about_stage then write( [[
  1068. <style type="text/css">
  1069. #about_frame { margin: 0 auto 2em !important; }
  1070. </style>
  1071. ]] ) if model.nonCSS.about_galleryType == "none" then write( [[
  1072. <div id="about_frame">
  1073. <div id="about_flashcontent">
  1074. <p style="margin: 0 !important;">You have chosen to replace this image with a Flash gallery. Please select a Gallery Type from the Appearance pane so that we can properly prepare the stage for your gallery.</p>
  1075. </div>
  1076. </div>
  1077. ]] ) elseif model.nonCSS.about_galleryType == "autoviewer" then write( [[
  1078. ]] ) if mode == 'preview' then write( [[
  1079. <div id="about_frame">
  1080. <div id="about_flashcontent">
  1081. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1082. <p><strong>Setup Instructions</strong></p>
  1083. <p>Export an Autoviewer gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-autoviewer/">TTG Autoviewer</a> or Airtight Autoviewer web engine. Name the export folder "about_autoviewer" and copy it into the exported TTG Pages folder.</p>
  1084. </div>
  1085. </div>
  1086. </div>
  1087. ]] ) else write( [[
  1088. <div id="about_frame">
  1089. <div id="about_flashcontent"></div>
  1090. <script language="JavaScript">
  1091. var flashvars = {
  1092. // langOpenImage: "Open Image in New Window",
  1093. // langAbout: "About",
  1094. xmlURL: "gallery.xml"
  1095. }
  1096. var params = {
  1097. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  1098. scale: "noscale",
  1099. base: "about_autoviewer/"
  1100. }
  1101. var attributes = {
  1102. }
  1103. swfobject.embedSWF("about_autoviewer/viewer.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
  1104. </script>
  1105. </div>
  1106. ]] ) end write( [[
  1107. ]] ) elseif model.nonCSS.about_galleryType == "dimin" then write( [[
  1108. ]] ) if mode == 'preview' then write( [[
  1109. <div id="about_frame">
  1110. <div id="about_flashcontent">
  1111. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1112. <p><strong>Setup Instructions</strong></p>
  1113. <p>Export a gallery using the <a href="http://dimin.m6.net/software/lightroom/">DIMIN Slideshow</a> web engine. Name the export folder "about_dimin" and copy it into the exported TTG Pages folder.</p>
  1114. </div>
  1115. </div>
  1116. </div>
  1117. ]] ) else write( [[
  1118. <div id="about_frame">
  1119. <div id="about_flashcontent">DIMIN Slideshow requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash here.</a></div>
  1120. <script language="JavaScript">
  1121. var flashvars = {
  1122. width: "]] )write( model.nonCSS.about_gallery_width )write( [[",
  1123. height: "]] )write( model.nonCSS.about_gallery_height )write( [[",
  1124. file: "slideshow.xml"
  1125. }
  1126. var params = {
  1127. allowfullscreen: "true",
  1128. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  1129. base: "about_dimin/"
  1130. }
  1131. var attributes = {
  1132. }
  1133. swfobject.embedSWF("about_dimin/imagerotator.swf", "about_flashcontent", "]] )write( model.nonCSS.about_gallery_width )write( [[", "]] )write( model.nonCSS.about_gallery_height )write( [[", "7", false, flashvars, params, attributes);
  1134. </script>
  1135. </div>
  1136. ]] ) end write( [[
  1137. ]] ) elseif model.nonCSS.about_galleryType == "flashnifties" then write( [[
  1138. ]] ) if mode == 'preview' then write( [[
  1139. <div id="about_frame">
  1140. <div id="about_flashcontent">
  1141. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1142. <p><strong>Setup Instructions</strong></p>
  1143. <p>Export a gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-flashnifties/">TTG Flashnifties</a> web engine. Name the export folder "about_flashnifties" and copy it into the exported TTG Pages folder.</p>
  1144. </div>
  1145. </div>
  1146. </div>
  1147. ]] ) else write( [[
  1148. <div id="about_frame">
  1149. <div id="about_flashcontent">This gallery requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  1150. <script language="JavaScript">
  1151. var flashvars = {
  1152. }
  1153. var params = {
  1154. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  1155. base: "about_flashnifties/"
  1156. }
  1157. var attributes = {
  1158. }
  1159. swfobject.embedSWF("about_flashnifties/xmlGallery.swf", "about_flashcontent", "100%", "100%", "6", false, flashvars, params, attributes);
  1160. </script>
  1161. </div>
  1162. ]] ) end write( [[
  1163. ]] ) elseif model.nonCSS.about_galleryType == "flickr" then write( [[
  1164. ]] ) if mode == 'preview' then write( [[
  1165. <div id="about_frame">
  1166. <div id="about_flashcontent">
  1167. <div id="flickr" style="padding:1em;font-size:11px;line-height:17px;">
  1168. <p><strong>Flickr Setup</strong></p>
  1169. <p>Input your Flickr username and the ID number of the Flickr Set you wish to display into the "Flickr Username" and "Flickr Set ID" fields, respectively.</p>
  1170. <p>To get the Flickr Set ID, visit your set on Flickr. The URL for the set will look like this: http://www.flickr.com/photos/username/sets/<span style="color:#f00 !important;">#################</span>/.</p>
  1171. <p>The number, shown here in red, is the set ID. Copy and paste that number into the "Flickr Set ID" field in the Appearance pane.</p>
  1172. <p>TTG Stage will only display <strong>sets</strong>, not collections, nor photostreams. The gallery will not display here in the LR preview, but will appear in the exported gallery, or when previewed in a browser.</p>
  1173. <p>The URL that will be displayed in your gallery is:</p>
  1174. <p><a href="http://www.flickr.com/photos/]] )write( model.nonCSS.about_flickrUser )write( [[/sets/]] )write( model.nonCSS.about_flickrSet )write( [[/">http://www.flickr.com/photos/]] )write( model.nonCSS.about_flickrUser )write( [[/sets/]] )write( model.nonCSS.about_flickrSet )write( [[/</a></p>
  1175. <p>Check that the URL is correct by clicking on it and verifying its destination.</p>
  1176. </div>
  1177. </div>
  1178. </div>
  1179. ]] ) else write( [[
  1180. <div id="about_frame">
  1181. <div id="about_flashcontent">Flash is required to view this gallery. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  1182. <script language="JavaScript">
  1183. var flashvars = {
  1184. offsite: "true",
  1185. lang: "en-us",
  1186. page_show_url: "/photos/]] )write( model.nonCSS.about_flickrUser )write( [[/sets/]] )write( model.nonCSS.about_flickrSet )write( [[/show/",
  1187. set_id: "]] )write( model.nonCSS.about_flickrSet )write( [[",
  1188. page_show_back_url: "/photos/]] )write( model.nonCSS.about_flickrUser )write( [[/sets/]] )write( model.nonCSS.about_flickrSet )write( [[/",
  1189. jump_to: ""
  1190. }
  1191. var params = {
  1192. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  1193. allowfullscreen: "true"
  1194. }
  1195. var attributes = {
  1196. }
  1197. swfobject.embedSWF("http://www.flickr.com/apps/slideshow/show.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
  1198. </script>
  1199. </div>
  1200. ]] ) end write( [[
  1201. ]] ) elseif model.nonCSS.about_galleryType == "lightroomflashgallery" then write( [[
  1202. ]] ) if mode == 'preview' then write( [[
  1203. <div id="about_frame">
  1204. <div id="about_flashcontent">
  1205. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1206. <p><strong>Setup Instructions</strong></p>
  1207. <p>Export a gallery using the Lightroom Flash Gallery web engine. Name the export folder "about_lightroomflashgallery" and copy it into the exported TTG Pages folder.</p>
  1208. </div>
  1209. </div>
  1210. </div>
  1211. ]] ) else write( [[
  1212. <div id="about_frame">
  1213. <div id="about_flashcontent">
  1214. <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
  1215. width="100%" height="100%"
  1216. codebase="http://download.macromedia.com/pub/shockwave/
  1217. cabs/flash/swflash.cab">
  1218. <param name="movie" value="about_lightroomflashgallery/resources/gallery.swf"/>
  1219. <param name="flashvars"
  1220. value="livePreview=false
  1221. &baseRefUrl=about_lightroomflashgallery/
  1222. &groupxml=resources/mediaGroupData/group.xml
  1223. &stylexml=resources/styles/style.xml
  1224. &localText=resources/localization/localText.xml"/>
  1225. <param name="id" value="gallery"/>
  1226. <param name="quality" value="high"/>
  1227. <param name="align" value="middle"/>
  1228. <param name="name" value="gallery"/>
  1229. <param name="bgcolor" value="#f7f7f7"/>
  1230. <param name="allowScriptAccess" value="sameDomain"/>
  1231. <param name="menu" value="true"/>
  1232. <embed src="about_lightroomflashgallery/resources/gallery.swf"
  1233. type="application/x-shockwave-flash"
  1234. pluginspage="http://www.macromedia.com/go/getflashplayer"
  1235. flashvars="livePreview=false
  1236. &baseRefUrl=about_lightroomflashgallery/
  1237. &groupxml=resources/mediaGroupData/group.xml
  1238. &stylexml=resources/styles/style.xml
  1239. &localText=resources/localization/localText.xml"
  1240. width="100%" height="100%" quality="high" align="middle"
  1241. allowScriptAccess="sameDomain">
  1242. </embed>
  1243. </object>
  1244. </div>
  1245. </div>
  1246. ]] ) end write( [[
  1247. ]] ) elseif model.nonCSS.about_galleryType == "monoslideshow" then write( [[
  1248. ]] ) if mode == 'preview' then write( [[
  1249. <div id="about_frame">
  1250. <div id="about_flashcontent">
  1251. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1252. <p><strong>Setup Instructions</strong></p>
  1253. <p>Export a gallery using the (discontinued) TTG MonoSlideshow web engine, or create a Monoslideshow gallery on your own. Name the export folder "about_monoslideshow" and copy it into the exported TTG Pages folder.</p>
  1254. </div>
  1255. </div>
  1256. </div>
  1257. ]] ) else write( [[
  1258. <div id="about_frame">
  1259. <div id="about_flashcontent">
  1260. <p><strong>Please install Flash® and turn on Javascript.</strong></p>
  1261. </div>
  1262. <script language="JavaScript">
  1263. var flashvars = {
  1264. showLogo: "false"
  1265. }
  1266. var params = {
  1267. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  1268. base: "about_monoslideshow/"
  1269. }
  1270. var attributes = {
  1271. }
  1272. swfobject.embedSWF("about_monoslideshow/monoslideshow.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
  1273. </script>
  1274. </div>
  1275. ]] ) end write( [[
  1276. ]] ) elseif model.nonCSS.about_galleryType == "monoslideshow2" then write( [[
  1277. ]] ) if mode == 'preview' then write( [[
  1278. <div id="about_frame">
  1279. <div id="about_flashcontent">
  1280. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1281. <p><strong>Setup Instructions</strong></p>
  1282. <p>Export a gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-monoslideshow/">TTG MonoSlideshow</a> web engine. Name the export folder "about_monoslideshow" and copy it into the exported TTG Pages folder.</p>
  1283. </div>
  1284. </div>
  1285. </div>
  1286. ]] ) else write( [[
  1287. <div id="about_frame">
  1288. <div id="about_flashcontent">
  1289. <p>Please <a href="http://get.adobe.com/flashplayer/">install Flash®</a> and turn on Javascript.</p>
  1290. </div>
  1291. <script type="text/javascript">
  1292. var flashvars = {showLogo: "false", showRegistration: "false"};
  1293. var params = {allowScriptAccess: "sameDomain", allowfullscreen: "true", allowNetworking: "all", base: "about_monoslideshow/"};
  1294. var attributes = {id: "monoslideshow", name: "monoslideshow", bgColor: "]] )write( model.nonCSS.about_stageBGC )write( [["};
  1295. swfobject.embedSWF("about_monoslideshow/monoslideshow.swf", "about_flashcontent", "100%", "100%", "9", false, flashvars, params, attributes);
  1296. </script>
  1297. </div>
  1298. ]] ) end write( [[
  1299. ]] ) elseif model.nonCSS.about_galleryType == "polaroid" then write( [[
  1300. ]] ) if mode == 'preview' then write( [[
  1301. <div id="about_frame">
  1302. <div id="about_flashcontent">
  1303. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1304. <p><strong>Setup Instructions</strong></p>
  1305. <p>Export a gallery using the <a style="color:#e5a638 !important;" href="http://lightroom.theturninggate.net/flash-galleries/ttg-polaroid-gallery/">TTG Polaroid Gallery</a> web engine. Name the export folder "about_polaroid" and copy it into the exported TTG Pages folder.</p>
  1306. </div>
  1307. </div>
  1308. </div>
  1309. ]] ) else write( [[
  1310. <div id="about_frame">
  1311. <div id="about_flashcontent">This gallery requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  1312. <script language="JavaScript">
  1313. var flashvars = {
  1314. xmlURL: "photos.xml"
  1315. }
  1316. var params = {
  1317. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  1318. base: "about_polaroid/"
  1319. }
  1320. var attributes = {
  1321. }
  1322. swfobject.embedSWF("about_polaroid/polaroid.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
  1323. </script>
  1324. </div>
  1325. ]] ) end write( [[
  1326. ]] ) elseif model.nonCSS.about_galleryType == "postcardviewer" then write( [[
  1327. ]] ) if mode == 'preview' then write( [[
  1328. <div id="about_frame">
  1329. <div id="about_flashcontent">
  1330. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1331. <p><strong>Setup Instructions</strong></p>
  1332. <p>Export a PostcardViewer gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-postcardviewer/">TTG PostcardViewer</a> or Airtight PostcardViewer web engine. Name the export folder "about_postcardviewer" and copy it into the exported TTG Pages folder.</p>
  1333. </div>
  1334. </div>
  1335. </div>
  1336. ]] ) else write( [[
  1337. <div id="about_frame">
  1338. <div id="about_flashcontent">PostcardViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash here.</a> </div>
  1339. <script language="JavaScript">
  1340. var flashvars = {
  1341. // langOpenImage: "Open Image in New Window",
  1342. // langAbout: "About",
  1343. xmlURL: "gallery.xml"
  1344. }
  1345. var params = {
  1346. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  1347. base: "about_postcardviewer/"
  1348. }
  1349. var attributes = {
  1350. }
  1351. swfobject.embedSWF("about_postcardviewer/viewer.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
  1352. </script>
  1353. </div>
  1354. ]] ) end write( [[
  1355. ]] ) elseif model.nonCSS.about_galleryType == "simpleviewer" then write( [[
  1356. ]] ) if mode == 'preview' then write( [[
  1357. <div id="about_frame">
  1358. <div id="about_flashcontent">
  1359. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1360. <p><strong>Setup Instructions</strong></p>
  1361. <p>Export a Simpleviewer gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-simpleviewer/">TTG Simpleviewer</a> or Airtight Simpleviewer web engine. Name the export folder "about_simpleviewer" and copy it into the exported TTG Pages folder.</p>
  1362. </div>
  1363. </div>
  1364. </div>
  1365. ]] ) else write( [[
  1366. <div id="about_frame">
  1367. <div id="about_flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  1368. <script language="JavaScript">
  1369. var flashvars = {
  1370. // langOpenImage: "Open Image in New Window",
  1371. // langAbout: "About",
  1372. preloaderColor: "0xffffff",
  1373. xmlDataPath: "gallery.xml"
  1374. }
  1375. var params = {
  1376. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  1377. base: "about_simpleviewer/"
  1378. }
  1379. var attributes = {
  1380. }
  1381. swfobject.embedSWF("about_simpleviewer/viewer.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
  1382. </script>
  1383. </div>
  1384. ]] ) end write( [[
  1385. ]] ) elseif model.nonCSS.about_galleryType == "simpleviewer2" then write( [[
  1386. ]] ) if mode == 'preview' then write( [[
  1387. <div id="about_frame">
  1388. <div id="about_flashcontent">
  1389. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1390. <p><strong>Setup Instructions</strong></p>
  1391. <p>Export a Simpleviewer gallery using the <a style="color:#e5a638 !important;" href="http://lightroom.theturninggate.net/flash-galleries/ttg-simpleviewer/">TTG Simpleviewer-2</a> web engine. Name the export folder "about_simpleviewer" and copy it into the exported TTG Stage folder.</p>
  1392. </div>
  1393. </div>
  1394. </div>
  1395. ]] ) else write( [[
  1396. <div id="about_frame">
  1397. <div id="about_flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  1398. <script type="text/javascript">
  1399. var flashvars = {};
  1400. flashvars.baseURL="about_simpleviewer/";
  1401. flashvars.galleryURL = "gallery.xml";
  1402. var params = {};
  1403. params.allowfullscreen = true;
  1404. params.allowscriptaccess = "always";
  1405. params.bgcolor = "]] )write( model.nonCSS.about_stageBGC )write( [[";
  1406. swfobject.embedSWF("about_simpleviewer/simpleviewer.swf", "about_flashcontent", "100%", "100%", "9.0.124", false, flashvars, params);
  1407. </script>
  1408. </div>
  1409. ]] ) end write( [[
  1410. ]] ) elseif model.nonCSS.about_galleryType == "slideshowpro" then write( [[
  1411. ]] ) if mode == 'preview' then write( [[
  1412. <div id="about_frame">
  1413. <div id="about_flashcontent">
  1414. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1415. <p><strong>Setup Instructions</strong></p>
  1416. <p>Export a gallery using the <a href="http://www.slideshowpro.net">Slideshow Pro</a> web engine. Name the export folder "about_slideshowpro" and copy it into the exported TTG Pages folder.</p>
  1417. </div>
  1418. </div>
  1419. </div>
  1420. ]] ) else write( [[
  1421. <div id="about_frame">
  1422. <div id="about_flashcontent">
  1423. This SlideShowPro photo gallery requires the Flash Player plugin and a web browser with JavaScript enabled.
  1424. </div>
  1425. <script language="JavaScript">
  1426. <!--
  1427. // Permalinks option
  1428. function flashPutHref(href) { location.href = href; }
  1429. // Expand browser option
  1430. var eB = false;
  1431. if (eB) {
  1432. window.moveTo(0,0);
  1433. window.resizeTo (screen.availWidth, screen.availHeight);
  1434. }
  1435. // swffit sizing
  1436. var swf_pad = 20;
  1437. function initSwffit(w,h) {
  1438. // If you change name of the DIV the SWF is written at,
  1439. // change 'flashcontent' to the name of your DIV.
  1440. swffit.fit('about_flashcontent',w+swf_pad,h+swf_pad);
  1441. }
  1442. // SWFObject embed
  1443. var flashvars = {
  1444. paramXMLPath: "param.xml",
  1445. initialURL: escape(document.location)
  1446. }
  1447. var params = {
  1448. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  1449. allowfullscreen: "true",
  1450. base: "about_slideshowpro/"
  1451. }
  1452. var attributes = {}
  1453. swfobject.embedSWF("about_slideshowpro/loader.swf", "about_flashcontent", "100%", "100%", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
  1454. /* below required for google chrome embed issue */
  1455. swffit.fit('about_flashcontent',0,0);
  1456. -->
  1457. </script>
  1458. </div> <!-- /frame -->
  1459. ]] ) end write( [[
  1460. ]] ) end write( [[
  1461. ]] ) else write( [[
  1462. <img src="photos/]] )write( getImage(2).exportFilename )write( [[.jpg" class="page_img" width="]] )write( getImage(2).renditions.photos.width )write( [[" height="]] )write( getImage(2).renditions.photos.height )write( [[" alt="]] )write( getImage(2).metadata.alt )write( [[" style="margin: 0 0 20px 0 !important;" />
  1463. ]] ) end write( [[
  1464. <div class="copy" style="width: ]] )write( math.floor( model.nonCSS.aboutWidth - ( model.nonCSS.page_content_padding * 2 ) - ( model.nonCSS.page_content_border * 2 ) ) )write( [[px;">
  1465. ]] ) if model.nonCSS.includeAboutHeading1 then write( [[<h2 id="metadata.aboutHeading1.value" class="first heading heading_about"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutHeading1.value');"]] ) end write( [[>]] )write( model.metadata.aboutHeading1.value )write( [[</h2>]] ) end write( [[
  1466. ]] ) if model.nonCSS.includeAboutParagraph1 then write( [[<p id="nonCSS.aboutParagraph1.value"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutParagraph1.value');"]] ) end write( [[>]] )write( model.metadata.aboutParagraph1.value )write( [[</p>]] ) end write( [[
  1467. ]] ) if model.nonCSS.includeAboutHeading2 then write( [[<h2 id="metadata.aboutHeading2.value" class="subsequent heading heading_about"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutHeading2.value');"]] ) end write( [[>]] )write( model.metadata.aboutHeading2.value )write( [[</h2>]] ) end write( [[
  1468. ]] ) if model.nonCSS.includeAboutParagraph2 then write( [[<p id="nonCSS.aboutParagraph2.value"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutParagraph2.value');"]] ) end write( [[>]] )write( model.metadata.aboutParagraph2.value )write( [[</p>]] ) end write( [[
  1469. ]] ) if model.nonCSS.includeAboutHeading3 then write( [[<h2 id="metadata.aboutHeading3.value" class="subsequent heading heading_about"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutHeading3.value');"]] ) end write( [[>]] )write( model.metadata.aboutHeading3.value )write( [[</h2>]] ) end write( [[
  1470. ]] ) if model.nonCSS.includeAboutParagraph3 then write( [[<p id="nonCSS.aboutParagraph3.value"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutParagraph3.value');"]] ) end write( [[>]] )write( model.metadata.aboutParagraph3.value )write( [[</p>]] ) end write( [[
  1471. ]] ) if model.nonCSS.includeAboutHeading4 then write( [[<h2 id="metadata.aboutHeading4.value" class="subsequent heading heading_about"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutHeading4.value');"]] ) end write( [[>]] )write( model.metadata.aboutHeading4.value )write( [[</h2>]] ) end write( [[
  1472. ]] ) if model.nonCSS.includeAboutParagraph4 then write( [[<p id="nonCSS.aboutParagraph4.value"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutParagraph4.value');"]] ) end write( [[>]] )write( model.metadata.aboutParagraph4.value )write( [[</p>]] ) end write( [[
  1473. ]] ) if model.nonCSS.includeAboutHeading5 then write( [[<h2 id="metadata.aboutHeading5.value" class="subsequent heading heading_about"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutHeading5.value');"]] ) end write( [[>]] )write( model.metadata.aboutHeading5.value )write( [[</h2>]] ) end write( [[
  1474. ]] ) if model.nonCSS.includeAboutParagraph5 then write( [[<p id="nonCSS.aboutParagraph5.value"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutParagraph5.value');"]] ) end write( [[>]] )write( model.metadata.aboutParagraph5.value )write( [[</p>]] ) end write( [[
  1475. </div>
  1476. <div class="clear"></div>
  1477. </div> <!-- /page_content home -->
  1478. ]] ) elseif model.nonCSS.aboutConfiguration == "copyupimagedown" then write( [[
  1479. <div id="page_content" class="about">
  1480. <div class="copy" style="width: ]] )write( math.floor( model.nonCSS.aboutWidth - ( model.nonCSS.page_content_padding * 2 ) - ( model.nonCSS.page_content_border * 2 ) ) )write( [[px;">
  1481. ]] ) if model.nonCSS.includeAboutHeading1 then write( [[<h2 id="metadata.aboutHeading1.value" class="first heading heading_about"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutHeading1.value');"]] ) end write( [[>]] )write( model.metadata.aboutHeading1.value )write( [[</h2>]] ) end write( [[
  1482. ]] ) if model.nonCSS.includeAboutParagraph1 then write( [[<p id="nonCSS.aboutParagraph1.value"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutParagraph1.value');"]] ) end write( [[>]] )write( model.metadata.aboutParagraph1.value )write( [[</p>]] ) end write( [[
  1483. ]] ) if model.nonCSS.includeAboutHeading2 then write( [[<h2 id="metadata.aboutHeading2.value" class="subsequent heading heading_about"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutHeading2.value');"]] ) end write( [[>]] )write( model.metadata.aboutHeading2.value )write( [[</h2>]] ) end write( [[
  1484. ]] ) if model.nonCSS.includeAboutParagraph2 then write( [[<p id="nonCSS.aboutParagraph2.value"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutParagraph2.value');"]] ) end write( [[>]] )write( model.metadata.aboutParagraph2.value )write( [[</p>]] ) end write( [[
  1485. ]] ) if model.nonCSS.includeAboutHeading3 then write( [[<h2 id="metadata.aboutHeading3.value" class="subsequent heading heading_about"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutHeading3.value');"]] ) end write( [[>]] )write( model.metadata.aboutHeading3.value )write( [[</h2>]] ) end write( [[
  1486. ]] ) if model.nonCSS.includeAboutParagraph3 then write( [[<p id="nonCSS.aboutParagraph3.value"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutParagraph3.value');"]] ) end write( [[>]] )write( model.metadata.aboutParagraph3.value )write( [[</p>]] ) end write( [[
  1487. ]] ) if model.nonCSS.includeAboutHeading4 then write( [[<h2 id="metadata.aboutHeading4.value" class="subsequent heading heading_about"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutHeading4.value');"]] ) end write( [[>]] )write( model.metadata.aboutHeading4.value )write( [[</h2>]] ) end write( [[
  1488. ]] ) if model.nonCSS.includeAboutParagraph4 then write( [[<p id="nonCSS.aboutParagraph4.value"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutParagraph4.value');"]] ) end write( [[>]] )write( model.metadata.aboutParagraph4.value )write( [[</p>]] ) end write( [[
  1489. ]] ) if model.nonCSS.includeAboutHeading5 then write( [[<h2 id="metadata.aboutHeading5.value" class="subsequent heading heading_about"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutHeading5.value');"]] ) end write( [[>]] )write( model.metadata.aboutHeading5.value )write( [[</h2>]] ) end write( [[
  1490. ]] ) if model.nonCSS.includeAboutParagraph5 then write( [[<p id="nonCSS.aboutParagraph5.value"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutParagraph5.value');"]] ) end write( [[>]] )write( model.metadata.aboutParagraph5.value )write( [[</p>]] ) end write( [[
  1491. </div>
  1492. ]] ) if model.nonCSS.home_stage then write( [[
  1493. <style type="text/css">
  1494. #home_frame { margin: 2em auto 0 !important; }
  1495. </style>
  1496. ]] ) if model.nonCSS.about_galleryType == "none" then write( [[
  1497. <div id="about_frame">
  1498. <div id="about_flashcontent">
  1499. <p style="margin: 0 !important;">You have chosen to replace this image with a Flash gallery. Please select a Gallery Type from the Appearance pane so that we can properly prepare the stage for your gallery.</p>
  1500. </div>
  1501. </div>
  1502. ]] ) elseif model.nonCSS.about_galleryType == "autoviewer" then write( [[
  1503. ]] ) if mode == 'preview' then write( [[
  1504. <div id="about_frame">
  1505. <div id="about_flashcontent">
  1506. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1507. <p><strong>Setup Instructions</strong></p>
  1508. <p>Export an Autoviewer gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-autoviewer/">TTG Autoviewer</a> or Airtight Autoviewer web engine. Name the export folder "about_autoviewer" and copy it into the exported TTG Pages folder.</p>
  1509. </div>
  1510. </div>
  1511. </div>
  1512. ]] ) else write( [[
  1513. <div id="about_frame">
  1514. <div id="about_flashcontent"></div>
  1515. <script language="JavaScript">
  1516. var flashvars = {
  1517. // langOpenImage: "Open Image in New Window",
  1518. // langAbout: "About",
  1519. xmlURL: "gallery.xml"
  1520. }
  1521. var params = {
  1522. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  1523. scale: "noscale",
  1524. base: "about_autoviewer/"
  1525. }
  1526. var attributes = {
  1527. }
  1528. swfobject.embedSWF("about_autoviewer/viewer.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
  1529. </script>
  1530. </div>
  1531. ]] ) end write( [[
  1532. ]] ) elseif model.nonCSS.about_galleryType == "dimin" then write( [[
  1533. ]] ) if mode == 'preview' then write( [[
  1534. <div id="about_frame">
  1535. <div id="about_flashcontent">
  1536. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1537. <p><strong>Setup Instructions</strong></p>
  1538. <p>Export a gallery using the <a href="http://dimin.m6.net/software/lightroom/">DIMIN Slideshow</a> web engine. Name the export folder "about_dimin" and copy it into the exported TTG Pages folder.</p>
  1539. </div>
  1540. </div>
  1541. </div>
  1542. ]] ) else write( [[
  1543. <div id="about_frame">
  1544. <div id="about_flashcontent">DIMIN Slideshow requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash here.</a></div>
  1545. <script language="JavaScript">
  1546. var flashvars = {
  1547. width: "]] )write( model.nonCSS.about_gallery_width )write( [[",
  1548. height: "]] )write( model.nonCSS.about_gallery_height )write( [[",
  1549. file: "slideshow.xml"
  1550. }
  1551. var params = {
  1552. allowfullscreen: "true",
  1553. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  1554. base: "about_dimin/"
  1555. }
  1556. var attributes = {
  1557. }
  1558. swfobject.embedSWF("about_dimin/imagerotator.swf", "about_flashcontent", "]] )write( model.nonCSS.about_gallery_width )write( [[", "]] )write( model.nonCSS.about_gallery_height )write( [[", "7", false, flashvars, params, attributes);
  1559. </script>
  1560. </div>
  1561. ]] ) end write( [[
  1562. ]] ) elseif model.nonCSS.about_galleryType == "flashnifties" then write( [[
  1563. ]] ) if mode == 'preview' then write( [[
  1564. <div id="about_frame">
  1565. <div id="about_flashcontent">
  1566. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1567. <p><strong>Setup Instructions</strong></p>
  1568. <p>Export a gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-flashnifties/">TTG Flashnifties</a> web engine. Name the export folder "about_flashnifties" and copy it into the exported TTG Pages folder.</p>
  1569. </div>
  1570. </div>
  1571. </div>
  1572. ]] ) else write( [[
  1573. <div id="about_frame">
  1574. <div id="about_flashcontent">This gallery requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  1575. <script language="JavaScript">
  1576. var flashvars = {
  1577. }
  1578. var params = {
  1579. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  1580. base: "about_flashnifties/"
  1581. }
  1582. var attributes = {
  1583. }
  1584. swfobject.embedSWF("about_flashnifties/xmlGallery.swf", "about_flashcontent", "100%", "100%", "6", false, flashvars, params, attributes);
  1585. </script>
  1586. </div>
  1587. ]] ) end write( [[
  1588. ]] ) elseif model.nonCSS.about_galleryType == "flickr" then write( [[
  1589. ]] ) if mode == 'preview' then write( [[
  1590. <div id="about_frame">
  1591. <div id="about_flashcontent">
  1592. <div id="flickr" style="padding:1em;font-size:11px;line-height:17px;">
  1593. <p><strong>Flickr Setup</strong></p>
  1594. <p>Input your Flickr username and the ID number of the Flickr Set you wish to display into the "Flickr Username" and "Flickr Set ID" fields, respectively.</p>
  1595. <p>To get the Flickr Set ID, visit your set on Flickr. The URL for the set will look like this: http://www.flickr.com/photos/username/sets/<span style="color:#f00 !important;">#################</span>/.</p>
  1596. <p>The number, shown here in red, is the set ID. Copy and paste that number into the "Flickr Set ID" field in the Appearance pane.</p>
  1597. <p>TTG Stage will only display <strong>sets</strong>, not collections, nor photostreams. The gallery will not display here in the LR preview, but will appear in the exported gallery, or when previewed in a browser.</p>
  1598. <p>The URL that will be displayed in your gallery is:</p>
  1599. <p><a href="http://www.flickr.com/photos/]] )write( model.nonCSS.about_flickrUser )write( [[/sets/]] )write( model.nonCSS.about_flickrSet )write( [[/">http://www.flickr.com/photos/]] )write( model.nonCSS.about_flickrUser )write( [[/sets/]] )write( model.nonCSS.about_flickrSet )write( [[/</a></p>
  1600. <p>Check that the URL is correct by clicking on it and verifying its destination.</p>
  1601. </div>
  1602. </div>
  1603. </div>
  1604. ]] ) else write( [[
  1605. <div id="about_frame">
  1606. <div id="about_flashcontent">Flash is required to view this gallery. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  1607. <script language="JavaScript">
  1608. var flashvars = {
  1609. offsite: "true",
  1610. lang: "en-us",
  1611. page_show_url: "/photos/]] )write( model.nonCSS.about_flickrUser )write( [[/sets/]] )write( model.nonCSS.about_flickrSet )write( [[/show/",
  1612. set_id: "]] )write( model.nonCSS.about_flickrSet )write( [[",
  1613. page_show_back_url: "/photos/]] )write( model.nonCSS.about_flickrUser )write( [[/sets/]] )write( model.nonCSS.about_flickrSet )write( [[/",
  1614. jump_to: ""
  1615. }
  1616. var params = {
  1617. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  1618. allowfullscreen: "true"
  1619. }
  1620. var attributes = {
  1621. }
  1622. swfobject.embedSWF("http://www.flickr.com/apps/slideshow/show.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
  1623. </script>
  1624. </div>
  1625. ]] ) end write( [[
  1626. ]] ) elseif model.nonCSS.about_galleryType == "lightroomflashgallery" then write( [[
  1627. ]] ) if mode == 'preview' then write( [[
  1628. <div id="about_frame">
  1629. <div id="about_flashcontent">
  1630. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1631. <p><strong>Setup Instructions</strong></p>
  1632. <p>Export a gallery using the Lightroom Flash Gallery web engine. Name the export folder "about_lightroomflashgallery" and copy it into the exported TTG Pages folder.</p>
  1633. </div>
  1634. </div>
  1635. </div>
  1636. ]] ) else write( [[
  1637. <div id="about_frame">
  1638. <div id="about_flashcontent">
  1639. <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
  1640. width="100%" height="100%"
  1641. codebase="http://download.macromedia.com/pub/shockwave/
  1642. cabs/flash/swflash.cab">
  1643. <param name="movie" value="about_lightroomflashgallery/resources/gallery.swf"/>
  1644. <param name="flashvars"
  1645. value="livePreview=false
  1646. &baseRefUrl=about_lightroomflashgallery/
  1647. &groupxml=resources/mediaGroupData/group.xml
  1648. &stylexml=resources/styles/style.xml
  1649. &localText=resources/localization/localText.xml"/>
  1650. <param name="id" value="gallery"/>
  1651. <param name="quality" value="high"/>
  1652. <param name="align" value="middle"/>
  1653. <param name="name" value="gallery"/>
  1654. <param name="bgcolor" value="#f7f7f7"/>
  1655. <param name="allowScriptAccess" value="sameDomain"/>
  1656. <param name="menu" value="true"/>
  1657. <embed src="about_lightroomflashgallery/resources/gallery.swf"
  1658. type="application/x-shockwave-flash"
  1659. pluginspage="http://www.macromedia.com/go/getflashplayer"
  1660. flashvars="livePreview=false
  1661. &baseRefUrl=about_lightroomflashgallery/
  1662. &groupxml=resources/mediaGroupData/group.xml
  1663. &stylexml=resources/styles/style.xml
  1664. &localText=resources/localization/localText.xml"
  1665. width="100%" height="100%" quality="high" align="middle"
  1666. allowScriptAccess="sameDomain">
  1667. </embed>
  1668. </object>
  1669. </div>
  1670. </div>
  1671. ]] ) end write( [[
  1672. ]] ) elseif model.nonCSS.about_galleryType == "monoslideshow" then write( [[
  1673. ]] ) if mode == 'preview' then write( [[
  1674. <div id="about_frame">
  1675. <div id="about_flashcontent">
  1676. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1677. <p><strong>Setup Instructions</strong></p>
  1678. <p>Export a gallery using the (discontinued) TTG MonoSlideshow web engine, or create a Monoslideshow gallery on your own. Name the export folder "about_monoslideshow" and copy it into the exported TTG Pages folder.</p>
  1679. </div>
  1680. </div>
  1681. </div>
  1682. ]] ) else write( [[
  1683. <div id="about_frame">
  1684. <div id="about_flashcontent">
  1685. <p><strong>Please install Flash® and turn on Javascript.</strong></p>
  1686. </div>
  1687. <script language="JavaScript">
  1688. var flashvars = {
  1689. showLogo: "false"
  1690. }
  1691. var params = {
  1692. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  1693. base: "about_monoslideshow/"
  1694. }
  1695. var attributes = {
  1696. }
  1697. swfobject.embedSWF("about_monoslideshow/monoslideshow.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
  1698. </script>
  1699. </div>
  1700. ]] ) end write( [[
  1701. ]] ) elseif model.nonCSS.about_galleryType == "monoslideshow2" then write( [[
  1702. ]] ) if mode == 'preview' then write( [[
  1703. <div id="about_frame">
  1704. <div id="about_flashcontent">
  1705. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1706. <p><strong>Setup Instructions</strong></p>
  1707. <p>Export a gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-monoslideshow/">TTG MonoSlideshow</a> web engine. Name the export folder "about_monoslideshow" and copy it into the exported TTG Pages folder.</p>
  1708. </div>
  1709. </div>
  1710. </div>
  1711. ]] ) else write( [[
  1712. <div id="about_frame">
  1713. <div id="about_flashcontent">
  1714. <p>Please <a href="http://get.adobe.com/flashplayer/">install Flash®</a> and turn on Javascript.</p>
  1715. </div>
  1716. <script type="text/javascript">
  1717. var flashvars = {showLogo: "false", showRegistration: "false"};
  1718. var params = {allowScriptAccess: "sameDomain", allowfullscreen: "true", allowNetworking: "all", base: "about_monoslideshow/"};
  1719. var attributes = {id: "monoslideshow", name: "monoslideshow", bgColor: "]] )write( model.nonCSS.about_stageBGC )write( [["};
  1720. swfobject.embedSWF("about_monoslideshow/monoslideshow.swf", "about_flashcontent", "100%", "100%", "9", false, flashvars, params, attributes);
  1721. </script>
  1722. </div>
  1723. ]] ) end write( [[
  1724. ]] ) elseif model.nonCSS.about_galleryType == "polaroid" then write( [[
  1725. ]] ) if mode == 'preview' then write( [[
  1726. <div id="about_frame">
  1727. <div id="about_flashcontent">
  1728. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1729. <p><strong>Setup Instructions</strong></p>
  1730. <p>Export a gallery using the <a style="color:#e5a638 !important;" href="http://lightroom.theturninggate.net/flash-galleries/ttg-polaroid-gallery/">TTG Polaroid Gallery</a> web engine. Name the export folder "about_polaroid" and copy it into the exported TTG Pages folder.</p>
  1731. </div>
  1732. </div>
  1733. </div>
  1734. ]] ) else write( [[
  1735. <div id="about_frame">
  1736. <div id="about_flashcontent">This gallery requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  1737. <script language="JavaScript">
  1738. var flashvars = {
  1739. xmlURL: "photos.xml"
  1740. }
  1741. var params = {
  1742. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  1743. base: "about_polaroid/"
  1744. }
  1745. var attributes = {
  1746. }
  1747. swfobject.embedSWF("about_polaroid/polaroid.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
  1748. </script>
  1749. </div>
  1750. ]] ) end write( [[
  1751. ]] ) elseif model.nonCSS.about_galleryType == "postcardviewer" then write( [[
  1752. ]] ) if mode == 'preview' then write( [[
  1753. <div id="about_frame">
  1754. <div id="about_flashcontent">
  1755. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1756. <p><strong>Setup Instructions</strong></p>
  1757. <p>Export a PostcardViewer gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-postcardviewer/">TTG PostcardViewer</a> or Airtight PostcardViewer web engine. Name the export folder "about_postcardviewer" and copy it into the exported TTG Pages folder.</p>
  1758. </div>
  1759. </div>
  1760. </div>
  1761. ]] ) else write( [[
  1762. <div id="about_frame">
  1763. <div id="about_flashcontent">PostcardViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash here.</a> </div>
  1764. <script language="JavaScript">
  1765. var flashvars = {
  1766. // langOpenImage: "Open Image in New Window",
  1767. // langAbout: "About",
  1768. xmlURL: "gallery.xml"
  1769. }
  1770. var params = {
  1771. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  1772. base: "about_postcardviewer/"
  1773. }
  1774. var attributes = {
  1775. }
  1776. swfobject.embedSWF("about_postcardviewer/viewer.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
  1777. </script>
  1778. </div>
  1779. ]] ) end write( [[
  1780. ]] ) elseif model.nonCSS.about_galleryType == "simpleviewer" then write( [[
  1781. ]] ) if mode == 'preview' then write( [[
  1782. <div id="about_frame">
  1783. <div id="about_flashcontent">
  1784. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1785. <p><strong>Setup Instructions</strong></p>
  1786. <p>Export a Simpleviewer gallery using the <a href="http://lightroom.theturninggate.net/flash-galleries/ttg-simpleviewer/">TTG Simpleviewer</a> or Airtight Simpleviewer web engine. Name the export folder "about_simpleviewer" and copy it into the exported TTG Pages folder.</p>
  1787. </div>
  1788. </div>
  1789. </div>
  1790. ]] ) else write( [[
  1791. <div id="about_frame">
  1792. <div id="about_flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  1793. <script language="JavaScript">
  1794. var flashvars = {
  1795. // langOpenImage: "Open Image in New Window",
  1796. // langAbout: "About",
  1797. preloaderColor: "0xffffff",
  1798. xmlDataPath: "gallery.xml"
  1799. }
  1800. var params = {
  1801. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  1802. base: "about_simpleviewer/"
  1803. }
  1804. var attributes = {
  1805. }
  1806. swfobject.embedSWF("about_simpleviewer/viewer.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
  1807. </script>
  1808. </div>
  1809. ]] ) end write( [[
  1810. ]] ) elseif model.nonCSS.about_galleryType == "simpleviewer2" then write( [[
  1811. ]] ) if mode == 'preview' then write( [[
  1812. <div id="about_frame">
  1813. <div id="about_flashcontent">
  1814. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1815. <p><strong>Setup Instructions</strong></p>
  1816. <p>Export a Simpleviewer gallery using the <a style="color:#e5a638 !important;" href="http://lightroom.theturninggate.net/flash-galleries/ttg-simpleviewer/">TTG Simpleviewer-2</a> web engine. Name the export folder "about_simpleviewer" and copy it into the exported TTG Stage folder.</p>
  1817. </div>
  1818. </div>
  1819. </div>
  1820. ]] ) else write( [[
  1821. <div id="about_frame">
  1822. <div id="about_flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
  1823. <script type="text/javascript">
  1824. var flashvars = {};
  1825. flashvars.baseURL="about_simpleviewer/";
  1826. flashvars.galleryURL = "gallery.xml";
  1827. var params = {};
  1828. params.allowfullscreen = true;
  1829. params.allowscriptaccess = "always";
  1830. params.bgcolor = "]] )write( model.nonCSS.about_stageBGC )write( [[";
  1831. swfobject.embedSWF("about_simpleviewer/simpleviewer.swf", "about_flashcontent", "100%", "100%", "9.0.124", false, flashvars, params);
  1832. </script>
  1833. </div>
  1834. ]] ) end write( [[
  1835. ]] ) elseif model.nonCSS.about_galleryType == "slideshowpro" then write( [[
  1836. ]] ) if mode == 'preview' then write( [[
  1837. <div id="about_frame">
  1838. <div id="about_flashcontent">
  1839. <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
  1840. <p><strong>Setup Instructions</strong></p>
  1841. <p>Export a gallery using the <a href="http://www.slideshowpro.net">Slideshow Pro</a> web engine. Name the export folder "about_slideshowpro" and copy it into the exported TTG Pages folder.</p>
  1842. </div>
  1843. </div>
  1844. </div>
  1845. ]] ) else write( [[
  1846. <div id="about_frame">
  1847. <div id="about_flashcontent">
  1848. This SlideShowPro photo gallery requires the Flash Player plugin and a web browser with JavaScript enabled.
  1849. </div>
  1850. <script language="JavaScript">
  1851. <!--
  1852. // Permalinks option
  1853. function flashPutHref(href) { location.href = href; }
  1854. // Expand browser option
  1855. var eB = false;
  1856. if (eB) {
  1857. window.moveTo(0,0);
  1858. window.resizeTo (screen.availWidth, screen.availHeight);
  1859. }
  1860. // swffit sizing
  1861. var swf_pad = 20;
  1862. function initSwffit(w,h) {
  1863. // If you change name of the DIV the SWF is written at,
  1864. // change 'flashcontent' to the name of your DIV.
  1865. swffit.fit('about_flashcontent',w+swf_pad,h+swf_pad);
  1866. }
  1867. // SWFObject embed
  1868. var flashvars = {
  1869. paramXMLPath: "param.xml",
  1870. initialURL: escape(document.location)
  1871. }
  1872. var params = {
  1873. bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
  1874. allowfullscreen: "true",
  1875. base: "about_slideshowpro/"
  1876. }
  1877. var attributes = {}
  1878. swfobject.embedSWF("about_slideshowpro/loader.swf", "about_flashcontent", "100%", "100%", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
  1879. /* below required for google chrome embed issue */
  1880. swffit.fit('about_flashcontent',0,0);
  1881. -->
  1882. </script>
  1883. </div> <!-- /frame -->
  1884. ]] ) end write( [[
  1885. ]] ) end write( [[
  1886. ]] ) else write( [[
  1887. <img src="photos/]] )write( getImage(2).exportFilename )write( [[.jpg" class="page_img" width="]] )write( getImage(2).renditions.photos.width )write( [[" height="]] )write( getImage(2).renditions.photos.height )write( [[" alt="]] )write( getImage(2).metadata.alt )write( [[" />
  1888. ]] ) end write( [[
  1889. <div class="clear"></div>
  1890. </div> <!-- /page_content home -->
  1891. ]] ) elseif model.nonCSS.aboutConfiguration == "noimagecopycenter" then write( [[
  1892. <div id="page_content" class="about">
  1893. <div class="copy" style="width: ]] )write( math.floor( model.nonCSS.aboutWidth - ( model.nonCSS.page_content_padding * 2 ) - ( model.nonCSS.page_content_border * 2 ) ) )write( [[px;">
  1894. ]] ) if model.nonCSS.includeAboutHeading1 then write( [[<h2 id="metadata.aboutHeading1.value" class="first heading heading_about"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutHeading1.value');"]] ) end write( [[>]] )write( model.metadata.aboutHeading1.value )write( [[</h2>]] ) end write( [[
  1895. ]] ) if model.nonCSS.includeAboutParagraph1 then write( [[<p id="nonCSS.aboutParagraph1.value"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutParagraph1.value');"]] ) end write( [[>]] )write( model.metadata.aboutParagraph1.value )write( [[</p>]] ) end write( [[
  1896. ]] ) if model.nonCSS.includeAboutHeading2 then write( [[<h2 id="metadata.aboutHeading2.value" class="subsequent heading heading_about"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutHeading2.value');"]] ) end write( [[>]] )write( model.metadata.aboutHeading2.value )write( [[</h2>]] ) end write( [[
  1897. ]] ) if model.nonCSS.includeAboutParagraph2 then write( [[<p id="nonCSS.aboutParagraph2.value"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutParagraph2.value');"]] ) end write( [[>]] )write( model.metadata.aboutParagraph2.value )write( [[</p>]] ) end write( [[
  1898. ]] ) if model.nonCSS.includeAboutHeading3 then write( [[<h2 id="metadata.aboutHeading3.value" class="subsequent heading heading_about"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutHeading3.value');"]] ) end write( [[>]] )write( model.metadata.aboutHeading3.value )write( [[</h2>]] ) end write( [[
  1899. ]] ) if model.nonCSS.includeAboutParagraph3 then write( [[<p id="nonCSS.aboutParagraph3.value"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutParagraph3.value');"]] ) end write( [[>]] )write( model.metadata.aboutParagraph3.value )write( [[</p>]] ) end write( [[
  1900. ]] ) if model.nonCSS.includeAboutHeading4 then write( [[<h2 id="metadata.aboutHeading4.value" class="subsequent heading heading_about"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutHeading4.value');"]] ) end write( [[>]] )write( model.metadata.aboutHeading4.value )write( [[</h2>]] ) end write( [[
  1901. ]] ) if model.nonCSS.includeAboutParagraph4 then write( [[<p id="nonCSS.aboutParagraph4.value"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutParagraph4.value');"]] ) end write( [[>]] )write( model.metadata.aboutParagraph4.value )write( [[</p>]] ) end write( [[
  1902. ]] ) if model.nonCSS.includeAboutHeading5 then write( [[<h2 id="metadata.aboutHeading5.value" class="subsequent heading heading_about"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutHeading5.value');"]] ) end write( [[>]] )write( model.metadata.aboutHeading5.value )write( [[</h2>]] ) end write( [[
  1903. ]] ) if model.nonCSS.includeAboutParagraph5 then write( [[<p id="nonCSS.aboutParagraph5.value"]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.aboutParagraph5.value');"]] ) end write( [[>]] )write( model.metadata.aboutParagraph5.value )write( [[</p>]] ) end write( [[
  1904. </div>
  1905. <div class="clear"></div>
  1906. </div> <!-- /page_content home -->
  1907. ]] ) end write( [[
  1908. </div> <!-- /gallery -->
  1909. ]] ) --[[ Include the page footer ]] write( [[
  1910. ]] ) if model.nonCSS.includeFooter then write( [[
  1911. <div id="footer"]] ) if model.nonCSS.transparentBackground then write( [[ style="background-color: transparent !important;"]] ) end write( [[>
  1912. <div id="footer_content">
  1913. ]] ) if model.nonCSS.footerNav then write( [[<p class="footer_text footer_nav" style="margin-bottom: 1em !important;">]] ) if model.nonCSS.menuItem1 then write( [[<a href="]] )write( model.metadata.menuItem1.link )write( [[" id="metadata.menuItem1.value" style="padding-left: 0 !important;">]] )write( model.metadata.menuItem1.value )write( [[</a> ]] )write( model.metadata.menuDivider.value )write( [[ ]] ) end if model.nonCSS.menuItem2 then write( [[<a href="]] )write( model.metadata.menuItem2.link )write( [[" id="metadata.menuItem2.value">]] )write( model.metadata.menuItem2.value )write( [[</a> ]] )write( model.metadata.menuDivider.value )write( [[ ]] ) end if model.nonCSS.menuItem3 then write( [[<a href="]] )write( model.metadata.menuItem3.link )write( [[" id="metadata.menuItem3.value">]] )write( model.metadata.menuItem3.value )write( [[</a> ]] )write( model.metadata.menuDivider.value )write( [[ ]] ) end if model.nonCSS.menuItem4 then write( [[<a href="]] )write( model.metadata.menuItem4.link )write( [[" id="metadata.menuItem4.value">]] )write( model.metadata.menuItem4.value )write( [[</a> ]] )write( model.metadata.menuDivider.value )write( [[ ]] ) end if model.nonCSS.menuItem5 then write( [[<a href="]] )write( model.metadata.menuItem5.link )write( [[" id="metadata.menuItem5.value">]] )write( model.metadata.menuItem5.value )write( [[</a> ]] )write( model.metadata.menuDivider.value )write( [[ ]] ) end write( model.metadata.customMenu.value ) if model.nonCSS.contactLink then write( [[<a href="]] )write( model.metadata.contact.link )write( [[" id="metadata.contact.value" style="padding-right: 0 !important;">]] )write( model.metadata.contact.value )write( [[</a>]] ) end write( [[</p>]] ) end write( [[
  1914. <p]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.footer.text');"]] ) end write( [[ class="footer_text">]] )write( model.metadata.footer.text )write( [[
  1915. ]] ) if model.nonCSS.ttgCredit then write( [[<br />Powered by <a href="http://lr.theturninggate.net" onclick="window.open(this.href); return false;">The Turning Gate (TTG)</a>.]] ) end write( [[
  1916. </p>
  1917. </div>
  1918. </div>
  1919. ]] ) end write( [[
  1920. </div> <!-- /wrapper -->
  1921. ]] ) if mode == 'publish' then write( [[
  1922. ]] )write( model.metadata.script.footer )write( [[
  1923. ]] ) if model.nonCSS.googleAnalytics then write( [[
  1924. <script type="text/javascript">
  1925. var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
  1926. document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
  1927. </script>
  1928. <script type="text/javascript">
  1929. try {
  1930. var pageTracker = _gat._getTracker("]] )write( model.metadata.googleAnalytics.id )write( [[");
  1931. pageTracker._trackPageview();
  1932. } catch(err) {}</script>
  1933. ]] ) end write( [[
  1934. ]] ) end write( [[
  1935. </body>
  1936. </html>]] )