ERROR
ERROR
Switch View
- <% --[[ Include the page head]] %>
- <%
- --[[ Define some variables to make locating other resources easier
- firstPage was defined in our manifest.]]
- local theRoot = "."
- %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<%= model.metadata.html.lang %>" dir="<%= model.metadata.html.dir %>">
- <head>
- <meta http-equiv="content-type" content="text/html; charset=<%= model.nonCSS.charset %>" />
- <% if model.nonCSS.metaTags then %><meta name="author" content="<%= model.metadata.metaAuthor.value %>" />
- <meta name="description" content="<%= model.metadata.metaDescription.value %>" />
- <meta name="keywords" content="<%= model.metadata.metaKeywords.value %>" />
- <meta name="generator" content="Adobe Photoshop Lightroom, TTG LR Pages" /><% end %>
- <title>$model.metadata.htmlTitle.value</title>
- <link rel="shortcut icon" type="image/ico" href="$theRoot/resources/images/favicon.ico" />
- <link rel="stylesheet" type="text/css" media="screen" href="$theRoot/resources/css/gallery.css" />
- <script type="text/javascript" src="$theRoot/resources/js/swfobject.js"></script>
- <script type="text/javascript" src="$theRoot/resources/js/livevalidation.js"></script>
- <script type="text/javascript" src="$theRoot/resources/js/jquery-1.4.2.min.js"></script>
- <script type="text/javascript" src="$theRoot/resources/js/jquery.jfade.1.0.min.js"></script>
- <% 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 %>
- <% if model.nonCSS.home_galleryview then %><link rel="stylesheet" type="text/css" media="screen" href="$theRoot/resources/galleryview/galleryview.css" />
- <script type="text/javascript" src="$theRoot/resources/galleryview/jquery.galleryview-2.1.1-pack.js"></script>
- <script type="text/javascript" src="$theRoot/resources/galleryview/jquery.timers-1.2.js"></script><% end %>
- <% if model.nonCSS.indexAction == 'shadowbox' then %>
- <script type="text/javascript" src="$theRoot/resources/shadowbox/shadowbox.js"></script>
- <script type="text/javascript">
-
- var options = {
- overlayColor: '<%= model.nonCSS.shadowboxOverlayWebColor %>',
- overlayOpacity: 0.<%= model.nonCSS.shadowboxOverlayOpacity %>,
- players: ['img','swf','flv','qt','wmp','iframe','html']
- };
- Shadowbox.init(options);
- </script>
- <link rel="stylesheet" type="text/css" media="screen" href="$theRoot/resources/shadowbox/shadowbox.css" />
- <style type="text/css">
- #sb-nav-close { background-image:url($theRoot/resources/images/<%= model.nonCSS.shadowbox_controls %>.png) !important; background-position: -64px 0; }
- #sb-nav-next { background-image:url($theRoot/resources/images/<%= model.nonCSS.shadowbox_controls %>.png) !important; background-position: -32px 0; }
- #sb-nav-previous { background-image:url($theRoot/resources/images/<%= model.nonCSS.shadowbox_controls %>.png) !important; background-position: -48px 0; }
- #sb-nav-play { background-image:url($theRoot/resources/images/<%= model.nonCSS.shadowbox_controls %>.png) !important; background-position: -16px 0; }
- #sb-nav-pause { background-image:url($theRoot/resources/images/<%= model.nonCSS.shadowbox_controls %>.png) !important; background-position: 0 0; }
- </style>
- <% end %>
- <script type="text/javascript">
- $(function(){
-
- $(".albumBox").jFade({
- trigger: "mouseover",
- property: 'background',
- start: '<%= model.nonCSS.albumBox_color_ag %>',
- end: '<%= model.nonCSS.albumBox_color_onhover_ag %>',
- steps: 20,
- duration: 15
- }).jFade({
- trigger: "mouseout",
- property: 'background',
- start: '<%= model.nonCSS.albumBox_color_onhover_ag %>',
- end: '<%= model.nonCSS.albumBox_color_ag %>',
- steps: 20,
- duration: 15
- });
-
- });
- </script>
- <% if model.nonCSS.includeFooter then %><% if model.nonCSS.sticktobottom then %>
- <script type="text/javascript">
- <!--
-
- function printViewportDimensions() {
- var viewportwidth = $(window).width();
- var viewportheight = window.innerHeight ? window.innerHeight : $(window).height();
- $('#wrapper').css('min-height', (viewportheight-<%= model.nonCSS.footerHeight %>) + 'px');
- }
-
- printViewportDimensions();
-
- $(function() {
- printViewportDimensions();
-
- $(window).resize(function()
- {
- printViewportDimensions();
- });
- });
-
- //-->
- </script>
- <% end %><% end %>
-
- <% if model.nonCSS.gridType == 'iconic' then %><% if model.nonCSS.captifyAnimation == 'never' then %><% else %>
- <script type="text/javascript">
- <!--
- $(function(){
- $('img.captify').captify({
- speedOver: 'fast',
- speedOut: 'normal',
- hideDelay: 500,
- animation: '<%= model.nonCSS.captifyAnimation %>',
- prefix: '',
- opacity: '0.7',
- className: 'caption-<%= model.nonCSS.captifyPosition %>',
- position: '<%= model.nonCSS.captifyPosition %>',
- spanWidth: '100%'
- });
- });
- //-->
- </script>
- <% end %><% end %>
- <style type="text/css">
-
- <% if mode == "preview" then %>#wrapper { min-height: 100%; }<% end %>
- #page_content {
- -moz-border-radius: <%= model.nonCSS.page_content_corners %>px;
- -webkit-border-radius: <%= model.nonCSS.page_content_corners %>px;
- }
-
- .albumBox<% if model.nonCSS.gridType == 'iconic' then %>, .albumBoxContent<% end %> {
- background-color: #<%= model.nonCSS.albumBox_color_ag %>;
- -moz-border-radius: <%= model.nonCSS.albumBoxCorners %>px;
- -webkit-border-radius: <%= model.nonCSS.albumBoxCorners %>px;
- }
-
- #inputfields {
- -moz-border-radius: <%= model.nonCSS.selectionInputCorners %>px;
- -webkit-border-radius: <%= model.nonCSS.selectionInputCorners %>px;
- }
- <% if model.nonCSS.gridType == 'iconic' then %>
- <% if model.nonCSS.captifyAnimation == 'never' then %>
- .albumBoxContent, img.captify {
- width: <%= math.floor( model.nonCSS.albumBoxWidth - ( model.nonCSS.albumBoxBorderWidth * 2 ) ) %>px;
- height: <%= math.floor( model.nonCSS.albumBoxHeight - ( model.nonCSS.albumBoxBorderWidth * 2 ) ) %>px;
- }
- .albumBoxContent {
- padding: 0 !important;
- }
- img.captify {
- opacity: 0; filter:alpha(opacity=0);
- }
- <% else %>
- .caption-top, .caption-bottom {
- color: <%= model.nonCSS.albumTitleColor %>;
- padding: 0.5em;
- font-weight: <%= model.appearance.albumTitle[ 'font-weight' ] %>;
- font-size: <%= model.nonCSS.albumTitle_fontsize %>px;
- font-family: <%= model.appearance.albumTitle[ 'font-family' ] %>;
- border: 0px solid <%= model.nonCSS.albumTitleBorderColor %>;
- background: <%= model.nonCSS.albumTitleBGColor %>;
- text-shadow: 1px 1px 0 <%= model.nonCSS.albumTitleShadowColor %>;
- }
- .caption-top {
- border-width: 0px 0px <%= model.nonCSS.albumTitle_border %>px 0px;
- }
- .caption-bottom {
- border-width: <%= model.nonCSS.albumTitle_border %>px 0px 0px 0px;
- }
- .caption a, .caption a {
- border: 0 none;
- text-decoration: none;
- background: #000000;
- padding: 0.3em;
- }
- .caption a:hover, .caption a:hover {
- background: #202020;
- }
- .albumBoxContent, img.captify {
- width: <%= math.floor( model.nonCSS.albumBoxWidth - ( model.nonCSS.albumBoxBorderWidth * 2 ) ) %>px;
- height: <%= math.floor( model.nonCSS.albumBoxHeight - ( model.nonCSS.albumBoxBorderWidth * 2 ) ) %>px;
- }
- .albumBoxContent {
- padding: 0 !important;
- }
- img.captify {
- opacity: 0; filter:alpha(opacity=0);
- }
- <% end %><% end %>
- <% if model.nonCSS.home_galleryview then %>
- /*
- -- GALLERYVIEW-2 -- */
-
- #gallery { visibility: hidden; }
-
- .gallery {
- margin: 0 auto;
- background-color: <%= model.nonCSS.galleryviewBGC %>;
- border-color: <%= model.nonCSS.galleryviewBC %>;
- <% if model.nonCSS.homeConfiguration == "imageleftcopyright" then %>float: left;<% elseif model.nonCSS.homeConfiguration == "copyleftimageright" then %>float: right;<% end %>
- }
-
- .loader {
- background-color: <%= model.nonCSS.galleryviewBGC %>;
- }
- .panel {
- margin: 0 auto;
- text-align: center;
- }
-
- .panel img {
- left: 0 !important;
- }
-
- .panel .overlay-background {
- background: <%= model.nonCSS.overlaybackground %>;
- }
-
- .panel .panel-overlay {
- color: <%= model.nonCSS.overlaytext %>;
- }
-
- .panel .panel-overlay a {
- color: <%= model.nonCSS.overlayhyperlink %>;
- }
- .panel .panel-overlay, .panel .overlay-background {
- padding: 10px 5px 5px;
- height: <%= model.nonCSS.overlayHeight %>px;
- text-align: <%= model.appearance[ 'overlay_text' ][ 'text-align' ] %>;
- }
-
- #page_content p.overlay_title {
- margin: 0 0 4px 0 !important;
- padding: 0;
- line-height: 1em;
- font-size: <%= model.nonCSS.overlayTitle %>px;
- }
-
- #page_content p.overlay_caption {
- margin: 0 !important;
- padding: 0;
- line-height: 1em;
- font-size: <%= model.nonCSS.overlayCaption %>px;
- }
-
- .frame .img_wrap {
- border: 1px solid <%= model.nonCSS.galleryviewframesBC %>;
- }
-
- .frame.current .img_wrap {
- border-color: <%= model.nonCSS.galleryviewframecurrentBC %>;
- }
-
- .pointer {
- border-color: <%= model.nonCSS.galleryviewframecurrentBC %>;
- }
- <% end %>
- <% if model.nonCSS.sticktobottom then %>
- #footer { position: absolute; bottom: 0; left: 0; }<% end %>
- </style>
- <% if mode == 'publish' then %>
- <!-- compliance patch for microsoft browsers -->
- <!--[if lt IE 8]>
- <script src="http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE8.js" type="text/javascript"></script>
- <![endif]-->
- <% end %>
-
- <% if mode == 'preview' then %>
- <script type="text/javascript">
- window.AgMode = "$mode";
- window.AgOnLoad = function() {
- tellLightroomWhatImagesWeAreUsing();
- setActiveImageSize( "<%= mySize %>" );
- <% if image then %>
- callCallback( "showInPhotoBin", "$image.imageID" );
- <% end %>
- }
- </script>
- <script type="text/javascript" src="$theRoot/resources_preview/js/live_update.js"></script>
- <% end %>
- <%= model.metadata.style.head %>
- <%if mode == "publish" then %>
- <%= model.metadata.script.head %>
- <% end %>
-
- </head>
- <body id="about">
- <% --[[ Include the page header]] %>
- <%
- --[[ Define some variables to make locating other resources easier
- firstPage was defined in our manifest.]]
- local theRoot = "."
- %>
- <div id="wrapper">
- <% if model.nonCSS.idplateLocation == "header" then %>
- <div id="header_container">
- <div id="header"<% if model.nonCSS.fixHeaderWidth then %> style="width: <%= model.nonCSS.fixedHeaderWidth %>px !important;"<% end %>>
-
- <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>
-
- </div> <!-- /header -->
- </div>
- <div id="menu">
- <div id="menuContent"<% if model.nonCSS.fixHeaderWidth then %> style="width: <%= model.nonCSS.fixedHeaderWidth %>px !important;"<% end %>>
- <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" class="menufirst">$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" class="menulast">$model.metadata.contact.value</a></p>
-
- </div>
- </div> <!-- /menu -->
- <% elseif model.nonCSS.idplateLocation == "menu" then %>
- <div id="header_container">
- <div id="header"<% if model.nonCSS.fixHeaderWidth then %> style="width: <%= model.nonCSS.fixedHeaderWidth %>px !important;"<% end %>>
- </div> <!-- /header -->
- </div>
-
- <div id="menu">
- <div id="menuContent" <% if model.nonCSS.idplate then %>
- 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 %>>
- <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" class="menufirst">$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" class="menulast">$model.metadata.contact.value</a></p>
-
- </div>
- </div> <!-- /menu -->
- <% elseif model.nonCSS.idplateLocation == "beneath" then %>
-
- <div id="menu" style="margin-bottom: 0 !important;">
- <div id="menuContent"<% if model.nonCSS.fixHeaderWidth then %> style="width: <%= model.nonCSS.fixedHeaderWidth %>px !important;"<% end %>>
- <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" class="menufirst">$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" class="menulast">$model.metadata.contact.value</a></p>
-
- </div>
- </div> <!-- /menu -->
- <div id="header_container">
- <div id="header"<% if model.nonCSS.fixHeaderWidth then %> style="width: <%= model.nonCSS.fixedHeaderWidth %>px !important;"<% end %>>
-
- <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>
-
- </div> <!-- /header -->
- </div>
- <% end %>
- <div id="page">
- <% if model.nonCSS.aboutConfiguration == "imageleftcopyright" then %>
-
- <div id="page_content" class="about">
-
- <% if model.nonCSS.about_stage then %>
- <style type="text/css">
- #about_frame { float: left; }
- </style>
- <% if model.nonCSS.about_galleryType == "none" then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <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>
- </div>
- </div>
- <% elseif model.nonCSS.about_galleryType == "autoviewer" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent"></div>
- <script language="JavaScript">
- var flashvars = {
- // langOpenImage: "Open Image in New Window",
- // langAbout: "About",
- xmlURL: "gallery.xml"
- }
- var params = {
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- scale: "noscale",
- base: "about_autoviewer/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_autoviewer/viewer.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
- </script>
- </div>
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "dimin" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <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>
- <script language="JavaScript">
- var flashvars = {
- width: "<%= model.nonCSS.about_gallery_width %>",
- height: "<%= model.nonCSS.about_gallery_height %>",
- file: "slideshow.xml"
- }
- var params = {
- allowfullscreen: "true",
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- base: "about_dimin/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_dimin/imagerotator.swf", "about_flashcontent", "<%= model.nonCSS.about_gallery_width %>", "<%= model.nonCSS.about_gallery_height %>", "7", false, flashvars, params, attributes);
- </script>
- </div>
-
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "flashnifties" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">This gallery requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script language="JavaScript">
- var flashvars = {
- }
- var params = {
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- base: "about_flashnifties/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_flashnifties/xmlGallery.swf", "about_flashcontent", "100%", "100%", "6", false, flashvars, params, attributes);
- </script>
- </div>
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "flickr" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="flickr" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Flickr Setup</strong></p>
- <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>
- <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>
- <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>
- <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>
-
- <p>The URL that will be displayed in your gallery is:</p>
-
- <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>
-
- <p>Check that the URL is correct by clicking on it and verifying its destination.</p>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">Flash is required to view this gallery. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script language="JavaScript">
- var flashvars = {
- offsite: "true",
- lang: "en-us",
- page_show_url: "/photos/<%= model.nonCSS.about_flickrUser %>/sets/<%= model.nonCSS.about_flickrSet %>/show/",
- set_id: "<%= model.nonCSS.about_flickrSet %>",
- page_show_back_url: "/photos/<%= model.nonCSS.about_flickrUser %>/sets/<%= model.nonCSS.about_flickrSet %>/",
- jump_to: ""
- }
- var params = {
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- allowfullscreen: "true"
- }
- var attributes = {
- }
- swfobject.embedSWF("http://www.flickr.com/apps/slideshow/show.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
- </script>
- </div>
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "lightroomflashgallery" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
- width="100%" height="100%"
- codebase="http://download.macromedia.com/pub/shockwave/
- cabs/flash/swflash.cab">
- <param name="movie" value="about_lightroomflashgallery/resources/gallery.swf"/>
- <param name="flashvars"
- value="livePreview=false
- &baseRefUrl=about_lightroomflashgallery/
- &groupxml=resources/mediaGroupData/group.xml
- &stylexml=resources/styles/style.xml
- &localText=resources/localization/localText.xml"/>
- <param name="id" value="gallery"/>
- <param name="quality" value="high"/>
- <param name="align" value="middle"/>
- <param name="name" value="gallery"/>
- <param name="bgcolor" value="#f7f7f7"/>
- <param name="allowScriptAccess" value="sameDomain"/>
- <param name="menu" value="true"/>
- <embed src="about_lightroomflashgallery/resources/gallery.swf"
- type="application/x-shockwave-flash"
- pluginspage="http://www.macromedia.com/go/getflashplayer"
- flashvars="livePreview=false
- &baseRefUrl=about_lightroomflashgallery/
- &groupxml=resources/mediaGroupData/group.xml
- &stylexml=resources/styles/style.xml
- &localText=resources/localization/localText.xml"
- width="100%" height="100%" quality="high" align="middle"
- allowScriptAccess="sameDomain">
- </embed>
- </object>
- </div>
- </div>
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "monoslideshow" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <p><strong>Please install Flash® and turn on Javascript.</strong></p>
- </div>
- <script language="JavaScript">
- var flashvars = {
- showLogo: "false"
- }
- var params = {
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- base: "about_monoslideshow/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_monoslideshow/monoslideshow.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
- </script>
- </div>
-
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "monoslideshow2" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <p>Please <a href="http://get.adobe.com/flashplayer/">install Flash®</a> and turn on Javascript.</p>
- </div>
- <script type="text/javascript">
- var flashvars = {showLogo: "false", showRegistration: "false"};
- var params = {allowScriptAccess: "sameDomain", allowfullscreen: "true", allowNetworking: "all", base: "about_monoslideshow/"};
- var attributes = {id: "monoslideshow", name: "monoslideshow", bgColor: "<%= model.nonCSS.about_stageBGC %>"};
- swfobject.embedSWF("about_monoslideshow/monoslideshow.swf", "about_flashcontent", "100%", "100%", "9", false, flashvars, params, attributes);
- </script>
- </div>
-
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "polaroid" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">This gallery requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script language="JavaScript">
- var flashvars = {
- xmlURL: "photos.xml"
- }
- var params = {
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- base: "about_polaroid/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_polaroid/polaroid.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
- </script>
- </div>
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "postcardviewer" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">PostcardViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash here.</a> </div>
- <script language="JavaScript">
- var flashvars = {
- // langOpenImage: "Open Image in New Window",
- // langAbout: "About",
- xmlURL: "gallery.xml"
- }
- var params = {
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- base: "about_postcardviewer/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_postcardviewer/viewer.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
- </script>
- </div>
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "simpleviewer" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script language="JavaScript">
- var flashvars = {
- // langOpenImage: "Open Image in New Window",
- // langAbout: "About",
- preloaderColor: "0xffffff",
- xmlDataPath: "gallery.xml"
- }
- var params = {
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- base: "about_simpleviewer/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_simpleviewer/viewer.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
- </script>
- </div>
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "simpleviewer2" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script type="text/javascript">
- var flashvars = {};
- flashvars.baseURL="about_simpleviewer/";
- flashvars.galleryURL = "gallery.xml";
- var params = {};
- params.allowfullscreen = true;
- params.allowscriptaccess = "always";
- params.bgcolor = "<%= model.nonCSS.about_stageBGC %>";
- swfobject.embedSWF("about_simpleviewer/simpleviewer.swf", "about_flashcontent", "100%", "100%", "9.0.124", false, flashvars, params);
- </script>
- </div>
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "slideshowpro" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">
- This SlideShowPro photo gallery requires the Flash Player plugin and a web browser with JavaScript enabled.
- </div>
-
- <script language="JavaScript">
- <!--
- // Permalinks option
- function flashPutHref(href) { location.href = href; }
-
- // Expand browser option
- var eB = false;
- if (eB) {
- window.moveTo(0,0);
- window.resizeTo (screen.availWidth, screen.availHeight);
- }
-
- // swffit sizing
- var swf_pad = 20;
- function initSwffit(w,h) {
- // If you change name of the DIV the SWF is written at,
- // change 'flashcontent' to the name of your DIV.
- swffit.fit('about_flashcontent',w+swf_pad,h+swf_pad);
- }
-
- // SWFObject embed
- var flashvars = {
- paramXMLPath: "param.xml",
- initialURL: escape(document.location)
- }
- var params = {
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- allowfullscreen: "true",
- base: "about_slideshowpro/"
- }
- var attributes = {}
- swfobject.embedSWF("about_slideshowpro/loader.swf", "about_flashcontent", "100%", "100%", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
- /* below required for google chrome embed issue */
- swffit.fit('about_flashcontent',0,0);
- -->
- </script>
- </div> <!-- /frame -->
-
- <% end %>
-
- <% end %>
- <% else %>
-
- <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;" />
- <% end %>
-
- <% if model.nonCSS.about_stage then %>
- <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;">
- <% else %>
- <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;">
- <% end %>
-
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- </div>
-
- <div class="clear"></div>
- </div> <!-- /page_content home -->
- <% elseif model.nonCSS.aboutConfiguration == "copyleftimageright" then %>
-
- <div id="page_content" class="about">
-
- <% if model.nonCSS.about_stage then %>
- <style type="text/css">
- #about_frame { float: right; }
- </style>
- <% if model.nonCSS.about_galleryType == "none" then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <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>
- </div>
- </div>
- <% elseif model.nonCSS.about_galleryType == "autoviewer" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent"></div>
- <script language="JavaScript">
- var flashvars = {
- // langOpenImage: "Open Image in New Window",
- // langAbout: "About",
- xmlURL: "gallery.xml"
- }
- var params = {
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- scale: "noscale",
- base: "about_autoviewer/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_autoviewer/viewer.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
- </script>
- </div>
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "dimin" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <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>
- <script language="JavaScript">
- var flashvars = {
- width: "<%= model.nonCSS.about_gallery_width %>",
- height: "<%= model.nonCSS.about_gallery_height %>",
- file: "slideshow.xml"
- }
- var params = {
- allowfullscreen: "true",
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- base: "about_dimin/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_dimin/imagerotator.swf", "about_flashcontent", "<%= model.nonCSS.about_gallery_width %>", "<%= model.nonCSS.about_gallery_height %>", "7", false, flashvars, params, attributes);
- </script>
- </div>
-
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "flashnifties" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">This gallery requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script language="JavaScript">
- var flashvars = {
- }
- var params = {
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- base: "about_flashnifties/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_flashnifties/xmlGallery.swf", "about_flashcontent", "100%", "100%", "6", false, flashvars, params, attributes);
- </script>
- </div>
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "flickr" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="flickr" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Flickr Setup</strong></p>
- <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>
- <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>
- <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>
- <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>
-
- <p>The URL that will be displayed in your gallery is:</p>
-
- <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>
-
- <p>Check that the URL is correct by clicking on it and verifying its destination.</p>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">Flash is required to view this gallery. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script language="JavaScript">
- var flashvars = {
- offsite: "true",
- lang: "en-us",
- page_show_url: "/photos/<%= model.nonCSS.about_flickrUser %>/sets/<%= model.nonCSS.about_flickrSet %>/show/",
- set_id: "<%= model.nonCSS.about_flickrSet %>",
- page_show_back_url: "/photos/<%= model.nonCSS.about_flickrUser %>/sets/<%= model.nonCSS.about_flickrSet %>/",
- jump_to: ""
- }
- var params = {
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- allowfullscreen: "true"
- }
- var attributes = {
- }
- swfobject.embedSWF("http://www.flickr.com/apps/slideshow/show.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
- </script>
- </div>
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "lightroomflashgallery" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
- width="100%" height="100%"
- codebase="http://download.macromedia.com/pub/shockwave/
- cabs/flash/swflash.cab">
- <param name="movie" value="about_lightroomflashgallery/resources/gallery.swf"/>
- <param name="flashvars"
- value="livePreview=false
- &baseRefUrl=about_lightroomflashgallery/
- &groupxml=resources/mediaGroupData/group.xml
- &stylexml=resources/styles/style.xml
- &localText=resources/localization/localText.xml"/>
- <param name="id" value="gallery"/>
- <param name="quality" value="high"/>
- <param name="align" value="middle"/>
- <param name="name" value="gallery"/>
- <param name="bgcolor" value="#f7f7f7"/>
- <param name="allowScriptAccess" value="sameDomain"/>
- <param name="menu" value="true"/>
- <embed src="about_lightroomflashgallery/resources/gallery.swf"
- type="application/x-shockwave-flash"
- pluginspage="http://www.macromedia.com/go/getflashplayer"
- flashvars="livePreview=false
- &baseRefUrl=about_lightroomflashgallery/
- &groupxml=resources/mediaGroupData/group.xml
- &stylexml=resources/styles/style.xml
- &localText=resources/localization/localText.xml"
- width="100%" height="100%" quality="high" align="middle"
- allowScriptAccess="sameDomain">
- </embed>
- </object>
- </div>
- </div>
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "monoslideshow" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <p><strong>Please install Flash® and turn on Javascript.</strong></p>
- </div>
- <script language="JavaScript">
- var flashvars = {
- showLogo: "false"
- }
- var params = {
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- base: "about_monoslideshow/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_monoslideshow/monoslideshow.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
- </script>
- </div>
-
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "monoslideshow2" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <p>Please <a href="http://get.adobe.com/flashplayer/">install Flash®</a> and turn on Javascript.</p>
- </div>
- <script type="text/javascript">
- var flashvars = {showLogo: "false", showRegistration: "false"};
- var params = {allowScriptAccess: "sameDomain", allowfullscreen: "true", allowNetworking: "all", base: "about_monoslideshow/"};
- var attributes = {id: "monoslideshow", name: "monoslideshow", bgColor: "<%= model.nonCSS.about_stageBGC %>"};
- swfobject.embedSWF("about_monoslideshow/monoslideshow.swf", "about_flashcontent", "100%", "100%", "9", false, flashvars, params, attributes);
- </script>
- </div>
-
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "polaroid" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">This gallery requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script language="JavaScript">
- var flashvars = {
- xmlURL: "photos.xml"
- }
- var params = {
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- base: "about_polaroid/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_polaroid/polaroid.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
- </script>
- </div>
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "postcardviewer" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">PostcardViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash here.</a> </div>
- <script language="JavaScript">
- var flashvars = {
- // langOpenImage: "Open Image in New Window",
- // langAbout: "About",
- xmlURL: "gallery.xml"
- }
- var params = {
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- base: "about_postcardviewer/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_postcardviewer/viewer.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
- </script>
- </div>
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "simpleviewer" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script language="JavaScript">
- var flashvars = {
- // langOpenImage: "Open Image in New Window",
- // langAbout: "About",
- preloaderColor: "0xffffff",
- xmlDataPath: "gallery.xml"
- }
- var params = {
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- base: "about_simpleviewer/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_simpleviewer/viewer.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
- </script>
- </div>
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "simpleviewer2" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script type="text/javascript">
- var flashvars = {};
- flashvars.baseURL="about_simpleviewer/";
- flashvars.galleryURL = "gallery.xml";
- var params = {};
- params.allowfullscreen = true;
- params.allowscriptaccess = "always";
- params.bgcolor = "<%= model.nonCSS.about_stageBGC %>";
- swfobject.embedSWF("about_simpleviewer/simpleviewer.swf", "about_flashcontent", "100%", "100%", "9.0.124", false, flashvars, params);
- </script>
- </div>
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "slideshowpro" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">
- This SlideShowPro photo gallery requires the Flash Player plugin and a web browser with JavaScript enabled.
- </div>
-
- <script language="JavaScript">
- <!--
- // Permalinks option
- function flashPutHref(href) { location.href = href; }
-
- // Expand browser option
- var eB = false;
- if (eB) {
- window.moveTo(0,0);
- window.resizeTo (screen.availWidth, screen.availHeight);
- }
-
- // swffit sizing
- var swf_pad = 20;
- function initSwffit(w,h) {
- // If you change name of the DIV the SWF is written at,
- // change 'flashcontent' to the name of your DIV.
- swffit.fit('about_flashcontent',w+swf_pad,h+swf_pad);
- }
-
- // SWFObject embed
- var flashvars = {
- paramXMLPath: "param.xml",
- initialURL: escape(document.location)
- }
- var params = {
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- allowfullscreen: "true",
- base: "about_slideshowpro/"
- }
- var attributes = {}
- swfobject.embedSWF("about_slideshowpro/loader.swf", "about_flashcontent", "100%", "100%", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
- /* below required for google chrome embed issue */
- swffit.fit('about_flashcontent',0,0);
- -->
- </script>
- </div> <!-- /frame -->
-
- <% end %>
-
- <% end %>
- <% else %>
-
- <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;" />
- <% end %>
-
- <% if model.nonCSS.about_stage then %>
- <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;">
- <% else %>
- <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;">
- <% end %>
-
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- </div>
-
- <div class="clear"></div>
- </div> <!-- /page_content home -->
-
- <% elseif model.nonCSS.aboutConfiguration == "imageupcopydown" then %>
- <div id="page_content" class="about">
- <% if model.nonCSS.about_stage then %>
- <style type="text/css">
- #about_frame { margin: 0 auto 2em !important; }
- </style>
- <% if model.nonCSS.about_galleryType == "none" then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <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>
- </div>
- </div>
- <% elseif model.nonCSS.about_galleryType == "autoviewer" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent"></div>
- <script language="JavaScript">
- var flashvars = {
- // langOpenImage: "Open Image in New Window",
- // langAbout: "About",
- xmlURL: "gallery.xml"
- }
- var params = {
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- scale: "noscale",
- base: "about_autoviewer/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_autoviewer/viewer.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
- </script>
- </div>
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "dimin" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <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>
- <script language="JavaScript">
- var flashvars = {
- width: "<%= model.nonCSS.about_gallery_width %>",
- height: "<%= model.nonCSS.about_gallery_height %>",
- file: "slideshow.xml"
- }
- var params = {
- allowfullscreen: "true",
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- base: "about_dimin/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_dimin/imagerotator.swf", "about_flashcontent", "<%= model.nonCSS.about_gallery_width %>", "<%= model.nonCSS.about_gallery_height %>", "7", false, flashvars, params, attributes);
- </script>
- </div>
-
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "flashnifties" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">This gallery requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script language="JavaScript">
- var flashvars = {
- }
- var params = {
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- base: "about_flashnifties/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_flashnifties/xmlGallery.swf", "about_flashcontent", "100%", "100%", "6", false, flashvars, params, attributes);
- </script>
- </div>
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "flickr" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="flickr" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Flickr Setup</strong></p>
- <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>
- <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>
- <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>
- <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>
-
- <p>The URL that will be displayed in your gallery is:</p>
-
- <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>
-
- <p>Check that the URL is correct by clicking on it and verifying its destination.</p>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">Flash is required to view this gallery. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script language="JavaScript">
- var flashvars = {
- offsite: "true",
- lang: "en-us",
- page_show_url: "/photos/<%= model.nonCSS.about_flickrUser %>/sets/<%= model.nonCSS.about_flickrSet %>/show/",
- set_id: "<%= model.nonCSS.about_flickrSet %>",
- page_show_back_url: "/photos/<%= model.nonCSS.about_flickrUser %>/sets/<%= model.nonCSS.about_flickrSet %>/",
- jump_to: ""
- }
- var params = {
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- allowfullscreen: "true"
- }
- var attributes = {
- }
- swfobject.embedSWF("http://www.flickr.com/apps/slideshow/show.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
- </script>
- </div>
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "lightroomflashgallery" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
- width="100%" height="100%"
- codebase="http://download.macromedia.com/pub/shockwave/
- cabs/flash/swflash.cab">
- <param name="movie" value="about_lightroomflashgallery/resources/gallery.swf"/>
- <param name="flashvars"
- value="livePreview=false
- &baseRefUrl=about_lightroomflashgallery/
- &groupxml=resources/mediaGroupData/group.xml
- &stylexml=resources/styles/style.xml
- &localText=resources/localization/localText.xml"/>
- <param name="id" value="gallery"/>
- <param name="quality" value="high"/>
- <param name="align" value="middle"/>
- <param name="name" value="gallery"/>
- <param name="bgcolor" value="#f7f7f7"/>
- <param name="allowScriptAccess" value="sameDomain"/>
- <param name="menu" value="true"/>
- <embed src="about_lightroomflashgallery/resources/gallery.swf"
- type="application/x-shockwave-flash"
- pluginspage="http://www.macromedia.com/go/getflashplayer"
- flashvars="livePreview=false
- &baseRefUrl=about_lightroomflashgallery/
- &groupxml=resources/mediaGroupData/group.xml
- &stylexml=resources/styles/style.xml
- &localText=resources/localization/localText.xml"
- width="100%" height="100%" quality="high" align="middle"
- allowScriptAccess="sameDomain">
- </embed>
- </object>
- </div>
- </div>
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "monoslideshow" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <p><strong>Please install Flash® and turn on Javascript.</strong></p>
- </div>
- <script language="JavaScript">
- var flashvars = {
- showLogo: "false"
- }
- var params = {
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- base: "about_monoslideshow/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_monoslideshow/monoslideshow.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
- </script>
- </div>
-
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "monoslideshow2" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <p>Please <a href="http://get.adobe.com/flashplayer/">install Flash®</a> and turn on Javascript.</p>
- </div>
- <script type="text/javascript">
- var flashvars = {showLogo: "false", showRegistration: "false"};
- var params = {allowScriptAccess: "sameDomain", allowfullscreen: "true", allowNetworking: "all", base: "about_monoslideshow/"};
- var attributes = {id: "monoslideshow", name: "monoslideshow", bgColor: "<%= model.nonCSS.about_stageBGC %>"};
- swfobject.embedSWF("about_monoslideshow/monoslideshow.swf", "about_flashcontent", "100%", "100%", "9", false, flashvars, params, attributes);
- </script>
- </div>
-
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "polaroid" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">This gallery requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script language="JavaScript">
- var flashvars = {
- xmlURL: "photos.xml"
- }
- var params = {
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- base: "about_polaroid/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_polaroid/polaroid.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
- </script>
- </div>
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "postcardviewer" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">PostcardViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash here.</a> </div>
- <script language="JavaScript">
- var flashvars = {
- // langOpenImage: "Open Image in New Window",
- // langAbout: "About",
- xmlURL: "gallery.xml"
- }
- var params = {
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- base: "about_postcardviewer/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_postcardviewer/viewer.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
- </script>
- </div>
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "simpleviewer" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script language="JavaScript">
- var flashvars = {
- // langOpenImage: "Open Image in New Window",
- // langAbout: "About",
- preloaderColor: "0xffffff",
- xmlDataPath: "gallery.xml"
- }
- var params = {
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- base: "about_simpleviewer/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_simpleviewer/viewer.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
- </script>
- </div>
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "simpleviewer2" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script type="text/javascript">
- var flashvars = {};
- flashvars.baseURL="about_simpleviewer/";
- flashvars.galleryURL = "gallery.xml";
- var params = {};
- params.allowfullscreen = true;
- params.allowscriptaccess = "always";
- params.bgcolor = "<%= model.nonCSS.about_stageBGC %>";
- swfobject.embedSWF("about_simpleviewer/simpleviewer.swf", "about_flashcontent", "100%", "100%", "9.0.124", false, flashvars, params);
- </script>
- </div>
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "slideshowpro" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">
- This SlideShowPro photo gallery requires the Flash Player plugin and a web browser with JavaScript enabled.
- </div>
-
- <script language="JavaScript">
- <!--
- // Permalinks option
- function flashPutHref(href) { location.href = href; }
-
- // Expand browser option
- var eB = false;
- if (eB) {
- window.moveTo(0,0);
- window.resizeTo (screen.availWidth, screen.availHeight);
- }
-
- // swffit sizing
- var swf_pad = 20;
- function initSwffit(w,h) {
- // If you change name of the DIV the SWF is written at,
- // change 'flashcontent' to the name of your DIV.
- swffit.fit('about_flashcontent',w+swf_pad,h+swf_pad);
- }
-
- // SWFObject embed
- var flashvars = {
- paramXMLPath: "param.xml",
- initialURL: escape(document.location)
- }
- var params = {
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- allowfullscreen: "true",
- base: "about_slideshowpro/"
- }
- var attributes = {}
- swfobject.embedSWF("about_slideshowpro/loader.swf", "about_flashcontent", "100%", "100%", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
- /* below required for google chrome embed issue */
- swffit.fit('about_flashcontent',0,0);
- -->
- </script>
- </div> <!-- /frame -->
-
- <% end %>
-
- <% end %>
- <% else %>
-
- <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;" />
- <% end %>
-
- <div class="copy" style="width: <%= math.floor( model.nonCSS.aboutWidth - ( model.nonCSS.page_content_padding * 2 ) - ( model.nonCSS.page_content_border * 2 ) ) %>px;">
-
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- </div>
-
- <div class="clear"></div>
- </div> <!-- /page_content home -->
-
- <% elseif model.nonCSS.aboutConfiguration == "copyupimagedown" then %>
- <div id="page_content" class="about">
-
- <div class="copy" style="width: <%= math.floor( model.nonCSS.aboutWidth - ( model.nonCSS.page_content_padding * 2 ) - ( model.nonCSS.page_content_border * 2 ) ) %>px;">
-
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- </div>
-
- <% if model.nonCSS.home_stage then %>
- <style type="text/css">
- #home_frame { margin: 2em auto 0 !important; }
- </style>
- <% if model.nonCSS.about_galleryType == "none" then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <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>
- </div>
- </div>
- <% elseif model.nonCSS.about_galleryType == "autoviewer" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent"></div>
- <script language="JavaScript">
- var flashvars = {
- // langOpenImage: "Open Image in New Window",
- // langAbout: "About",
- xmlURL: "gallery.xml"
- }
- var params = {
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- scale: "noscale",
- base: "about_autoviewer/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_autoviewer/viewer.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
- </script>
- </div>
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "dimin" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <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>
- <script language="JavaScript">
- var flashvars = {
- width: "<%= model.nonCSS.about_gallery_width %>",
- height: "<%= model.nonCSS.about_gallery_height %>",
- file: "slideshow.xml"
- }
- var params = {
- allowfullscreen: "true",
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- base: "about_dimin/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_dimin/imagerotator.swf", "about_flashcontent", "<%= model.nonCSS.about_gallery_width %>", "<%= model.nonCSS.about_gallery_height %>", "7", false, flashvars, params, attributes);
- </script>
- </div>
-
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "flashnifties" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">This gallery requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script language="JavaScript">
- var flashvars = {
- }
- var params = {
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- base: "about_flashnifties/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_flashnifties/xmlGallery.swf", "about_flashcontent", "100%", "100%", "6", false, flashvars, params, attributes);
- </script>
- </div>
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "flickr" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="flickr" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Flickr Setup</strong></p>
- <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>
- <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>
- <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>
- <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>
-
- <p>The URL that will be displayed in your gallery is:</p>
-
- <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>
-
- <p>Check that the URL is correct by clicking on it and verifying its destination.</p>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">Flash is required to view this gallery. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script language="JavaScript">
- var flashvars = {
- offsite: "true",
- lang: "en-us",
- page_show_url: "/photos/<%= model.nonCSS.about_flickrUser %>/sets/<%= model.nonCSS.about_flickrSet %>/show/",
- set_id: "<%= model.nonCSS.about_flickrSet %>",
- page_show_back_url: "/photos/<%= model.nonCSS.about_flickrUser %>/sets/<%= model.nonCSS.about_flickrSet %>/",
- jump_to: ""
- }
- var params = {
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- allowfullscreen: "true"
- }
- var attributes = {
- }
- swfobject.embedSWF("http://www.flickr.com/apps/slideshow/show.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
- </script>
- </div>
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "lightroomflashgallery" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
- width="100%" height="100%"
- codebase="http://download.macromedia.com/pub/shockwave/
- cabs/flash/swflash.cab">
- <param name="movie" value="about_lightroomflashgallery/resources/gallery.swf"/>
- <param name="flashvars"
- value="livePreview=false
- &baseRefUrl=about_lightroomflashgallery/
- &groupxml=resources/mediaGroupData/group.xml
- &stylexml=resources/styles/style.xml
- &localText=resources/localization/localText.xml"/>
- <param name="id" value="gallery"/>
- <param name="quality" value="high"/>
- <param name="align" value="middle"/>
- <param name="name" value="gallery"/>
- <param name="bgcolor" value="#f7f7f7"/>
- <param name="allowScriptAccess" value="sameDomain"/>
- <param name="menu" value="true"/>
- <embed src="about_lightroomflashgallery/resources/gallery.swf"
- type="application/x-shockwave-flash"
- pluginspage="http://www.macromedia.com/go/getflashplayer"
- flashvars="livePreview=false
- &baseRefUrl=about_lightroomflashgallery/
- &groupxml=resources/mediaGroupData/group.xml
- &stylexml=resources/styles/style.xml
- &localText=resources/localization/localText.xml"
- width="100%" height="100%" quality="high" align="middle"
- allowScriptAccess="sameDomain">
- </embed>
- </object>
- </div>
- </div>
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "monoslideshow" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <p><strong>Please install Flash® and turn on Javascript.</strong></p>
- </div>
- <script language="JavaScript">
- var flashvars = {
- showLogo: "false"
- }
- var params = {
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- base: "about_monoslideshow/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_monoslideshow/monoslideshow.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
- </script>
- </div>
-
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "monoslideshow2" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <p>Please <a href="http://get.adobe.com/flashplayer/">install Flash®</a> and turn on Javascript.</p>
- </div>
- <script type="text/javascript">
- var flashvars = {showLogo: "false", showRegistration: "false"};
- var params = {allowScriptAccess: "sameDomain", allowfullscreen: "true", allowNetworking: "all", base: "about_monoslideshow/"};
- var attributes = {id: "monoslideshow", name: "monoslideshow", bgColor: "<%= model.nonCSS.about_stageBGC %>"};
- swfobject.embedSWF("about_monoslideshow/monoslideshow.swf", "about_flashcontent", "100%", "100%", "9", false, flashvars, params, attributes);
- </script>
- </div>
-
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "polaroid" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">This gallery requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script language="JavaScript">
- var flashvars = {
- xmlURL: "photos.xml"
- }
- var params = {
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- base: "about_polaroid/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_polaroid/polaroid.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
- </script>
- </div>
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "postcardviewer" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">PostcardViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash here.</a> </div>
- <script language="JavaScript">
- var flashvars = {
- // langOpenImage: "Open Image in New Window",
- // langAbout: "About",
- xmlURL: "gallery.xml"
- }
- var params = {
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- base: "about_postcardviewer/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_postcardviewer/viewer.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
- </script>
- </div>
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "simpleviewer" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script language="JavaScript">
- var flashvars = {
- // langOpenImage: "Open Image in New Window",
- // langAbout: "About",
- preloaderColor: "0xffffff",
- xmlDataPath: "gallery.xml"
- }
- var params = {
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- base: "about_simpleviewer/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_simpleviewer/viewer.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
- </script>
- </div>
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "simpleviewer2" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script type="text/javascript">
- var flashvars = {};
- flashvars.baseURL="about_simpleviewer/";
- flashvars.galleryURL = "gallery.xml";
- var params = {};
- params.allowfullscreen = true;
- params.allowscriptaccess = "always";
- params.bgcolor = "<%= model.nonCSS.about_stageBGC %>";
- swfobject.embedSWF("about_simpleviewer/simpleviewer.swf", "about_flashcontent", "100%", "100%", "9.0.124", false, flashvars, params);
- </script>
- </div>
- <% end %>
- <% elseif model.nonCSS.about_galleryType == "slideshowpro" then %>
- <% if mode == 'preview' then %>
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- <% else %>
- <div id="about_frame">
- <div id="about_flashcontent">
- This SlideShowPro photo gallery requires the Flash Player plugin and a web browser with JavaScript enabled.
- </div>
-
- <script language="JavaScript">
- <!--
- // Permalinks option
- function flashPutHref(href) { location.href = href; }
-
- // Expand browser option
- var eB = false;
- if (eB) {
- window.moveTo(0,0);
- window.resizeTo (screen.availWidth, screen.availHeight);
- }
-
- // swffit sizing
- var swf_pad = 20;
- function initSwffit(w,h) {
- // If you change name of the DIV the SWF is written at,
- // change 'flashcontent' to the name of your DIV.
- swffit.fit('about_flashcontent',w+swf_pad,h+swf_pad);
- }
-
- // SWFObject embed
- var flashvars = {
- paramXMLPath: "param.xml",
- initialURL: escape(document.location)
- }
- var params = {
- bgcolor: "<%= model.nonCSS.about_stageBGC %>",
- allowfullscreen: "true",
- base: "about_slideshowpro/"
- }
- var attributes = {}
- swfobject.embedSWF("about_slideshowpro/loader.swf", "about_flashcontent", "100%", "100%", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
- /* below required for google chrome embed issue */
- swffit.fit('about_flashcontent',0,0);
- -->
- </script>
- </div> <!-- /frame -->
-
- <% end %>
-
- <% end %>
- <% else %>
-
- <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 %>" />
- <% end %>
-
- <div class="clear"></div>
- </div> <!-- /page_content home -->
-
- <% elseif model.nonCSS.aboutConfiguration == "noimagecopycenter" then %>
- <div id="page_content" class="about">
-
- <div class="copy" style="width: <%= math.floor( model.nonCSS.aboutWidth - ( model.nonCSS.page_content_padding * 2 ) - ( model.nonCSS.page_content_border * 2 ) ) %>px;">
-
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- <% 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 %>
- </div>
-
- <div class="clear"></div>
- </div> <!-- /page_content home -->
-
- <% end %>
-
- </div> <!-- /gallery -->
-
- <% --[[ Include the page footer ]] %>
- <% if model.nonCSS.includeFooter then %>
- <div id="footer"<% if model.nonCSS.transparentBackground then %> style="background-color: transparent !important;"<% end %>>
- <div id="footer_content">
- <% 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 %>
- <p<% if mode == "preview" then %> onclick="clickTarget (this, 'metadata.footer.text');"<% end %> class="footer_text">$model.metadata.footer.text
- <% 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 %>
- </p>
- </div>
- </div>
- <% end %>
- </div> <!-- /wrapper -->
- <% if mode == 'publish' then %>
- <%= model.metadata.script.footer %>
-
- <% if model.nonCSS.disablerightclick then %>
- <script type="text/javascript">
- $(document).ready(function(){
- $(document).bind("contextmenu",function(e){
- return false;
- });
- });
- </script><% end %>
- <% if model.nonCSS.googleAnalytics then %>
- <script type="text/javascript">
- var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
- document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
- </script>
- <script type="text/javascript">
- try {
- var pageTracker = _gat._getTracker("<%= model.metadata.googleAnalytics.id %>");
- pageTracker._trackPageview();
- } catch(err) {}
- </script>
- <% end %>
- <% end %>
- </body>
- </html>
- --[[ Include the page head]] write( [[
- ]] )
- --[[ Define some variables to make locating other resources easier
- firstPage was defined in our manifest.]]
- local theRoot = "."
- write( [[
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="]] )write( model.metadata.html.lang )write( [[" dir="]] )write( model.metadata.html.dir )write( [[">
- <head>
- <meta http-equiv="content-type" content="text/html; charset=]] )write( model.nonCSS.charset )write( [[" />
- ]] ) if model.nonCSS.metaTags then write( [[<meta name="author" content="]] )write( model.metadata.metaAuthor.value )write( [[" />
- <meta name="description" content="]] )write( model.metadata.metaDescription.value )write( [[" />
- <meta name="keywords" content="]] )write( model.metadata.metaKeywords.value )write( [[" />
- <meta name="generator" content="Adobe Photoshop Lightroom, TTG LR Pages" />]] ) end write( [[
- <title>]] )write( model.metadata.htmlTitle.value )write( [[</title>
- <link rel="shortcut icon" type="image/ico" href="]] )write( theRoot )write( [[/resources/images/favicon.ico" />
- <link rel="stylesheet" type="text/css" media="screen" href="]] )write( theRoot )write( [[/resources/css/gallery.css" />
- <script type="text/javascript" src="]] )write( theRoot )write( [[/resources/js/swfobject.js"></script>
- <script type="text/javascript" src="]] )write( theRoot )write( [[/resources/js/livevalidation.js"></script>
- <script type="text/javascript" src="]] )write( theRoot )write( [[/resources/js/jquery-1.4.2.min.js"></script>
- <script type="text/javascript" src="]] )write( theRoot )write( [[/resources/js/jquery.jfade.1.0.min.js"></script>
- ]] ) 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( [[
- ]] ) if model.nonCSS.home_galleryview then write( [[<link rel="stylesheet" type="text/css" media="screen" href="]] )write( theRoot )write( [[/resources/galleryview/galleryview.css" />
- <script type="text/javascript" src="]] )write( theRoot )write( [[/resources/galleryview/jquery.galleryview-2.1.1-pack.js"></script>
- <script type="text/javascript" src="]] )write( theRoot )write( [[/resources/galleryview/jquery.timers-1.2.js"></script>]] ) end write( [[
- ]] ) if model.nonCSS.indexAction == 'shadowbox' then write( [[
- <script type="text/javascript" src="]] )write( theRoot )write( [[/resources/shadowbox/shadowbox.js"></script>
- <script type="text/javascript">
-
- var options = {
- overlayColor: ']] )write( model.nonCSS.shadowboxOverlayWebColor )write( [[',
- overlayOpacity: 0.]] )write( model.nonCSS.shadowboxOverlayOpacity )write( [[,
- players: ]] .. "[" .. [['img','swf','flv','qt','wmp','iframe','html']] .. "]" .. [[
- };
- Shadowbox.init(options);
- </script>
- <link rel="stylesheet" type="text/css" media="screen" href="]] )write( theRoot )write( [[/resources/shadowbox/shadowbox.css" />
- <style type="text/css">
- #sb-nav-close { background-image:url(]] )write( theRoot )write( [[/resources/images/]] )write( model.nonCSS.shadowbox_controls )write( [[.png) !important; background-position: -64px 0; }
- #sb-nav-next { background-image:url(]] )write( theRoot )write( [[/resources/images/]] )write( model.nonCSS.shadowbox_controls )write( [[.png) !important; background-position: -32px 0; }
- #sb-nav-previous { background-image:url(]] )write( theRoot )write( [[/resources/images/]] )write( model.nonCSS.shadowbox_controls )write( [[.png) !important; background-position: -48px 0; }
- #sb-nav-play { background-image:url(]] )write( theRoot )write( [[/resources/images/]] )write( model.nonCSS.shadowbox_controls )write( [[.png) !important; background-position: -16px 0; }
- #sb-nav-pause { background-image:url(]] )write( theRoot )write( [[/resources/images/]] )write( model.nonCSS.shadowbox_controls )write( [[.png) !important; background-position: 0 0; }
- </style>
- ]] ) end write( [[
- <script type="text/javascript">
- $(function(){
-
- $(".albumBox").jFade({
- trigger: "mouseover",
- property: 'background',
- start: ']] )write( model.nonCSS.albumBox_color_ag )write( [[',
- end: ']] )write( model.nonCSS.albumBox_color_onhover_ag )write( [[',
- steps: 20,
- duration: 15
- }).jFade({
- trigger: "mouseout",
- property: 'background',
- start: ']] )write( model.nonCSS.albumBox_color_onhover_ag )write( [[',
- end: ']] )write( model.nonCSS.albumBox_color_ag )write( [[',
- steps: 20,
- duration: 15
- });
-
- });
- </script>
- ]] ) if model.nonCSS.includeFooter then if model.nonCSS.sticktobottom then write( [[
- <script type="text/javascript">
- <!--
-
- function printViewportDimensions() {
- var viewportwidth = $(window).width();
- var viewportheight = window.innerHeight ? window.innerHeight : $(window).height();
- $('#wrapper').css('min-height', (viewportheight-]] )write( model.nonCSS.footerHeight )write( [[) + 'px');
- }
-
- printViewportDimensions();
-
- $(function() {
- printViewportDimensions();
-
- $(window).resize(function()
- {
- printViewportDimensions();
- });
- });
-
- //-->
- </script>
- ]] ) end end write( [[
-
- ]] ) if model.nonCSS.gridType == 'iconic' then if model.nonCSS.captifyAnimation == 'never' then else write( [[
- <script type="text/javascript">
- <!--
- $(function(){
- $('img.captify').captify({
- speedOver: 'fast',
- speedOut: 'normal',
- hideDelay: 500,
- animation: ']] )write( model.nonCSS.captifyAnimation )write( [[',
- prefix: '',
- opacity: '0.7',
- className: 'caption-]] )write( model.nonCSS.captifyPosition )write( [[',
- position: ']] )write( model.nonCSS.captifyPosition )write( [[',
- spanWidth: '100%'
- });
- });
- //-->
- </script>
- ]] ) end end write( [[
- <style type="text/css">
-
- ]] ) if mode == "preview" then write( [[#wrapper { min-height: 100%; }]] ) end write( [[
- #page_content {
- -moz-border-radius: ]] )write( model.nonCSS.page_content_corners )write( [[px;
- -webkit-border-radius: ]] )write( model.nonCSS.page_content_corners )write( [[px;
- }
-
- .albumBox]] ) if model.nonCSS.gridType == 'iconic' then write( [[, .albumBoxContent]] ) end write( [[ {
- background-color: #]] )write( model.nonCSS.albumBox_color_ag )write( [[;
- -moz-border-radius: ]] )write( model.nonCSS.albumBoxCorners )write( [[px;
- -webkit-border-radius: ]] )write( model.nonCSS.albumBoxCorners )write( [[px;
- }
-
- #inputfields {
- -moz-border-radius: ]] )write( model.nonCSS.selectionInputCorners )write( [[px;
- -webkit-border-radius: ]] )write( model.nonCSS.selectionInputCorners )write( [[px;
- }
- ]] ) if model.nonCSS.gridType == 'iconic' then write( [[
- ]] ) if model.nonCSS.captifyAnimation == 'never' then write( [[
- .albumBoxContent, img.captify {
- width: ]] )write( math.floor( model.nonCSS.albumBoxWidth - ( model.nonCSS.albumBoxBorderWidth * 2 ) ) )write( [[px;
- height: ]] )write( math.floor( model.nonCSS.albumBoxHeight - ( model.nonCSS.albumBoxBorderWidth * 2 ) ) )write( [[px;
- }
- .albumBoxContent {
- padding: 0 !important;
- }
- img.captify {
- opacity: 0; filter:alpha(opacity=0);
- }
- ]] ) else write( [[
- .caption-top, .caption-bottom {
- color: ]] )write( model.nonCSS.albumTitleColor )write( [[;
- padding: 0.5em;
- font-weight: ]] )write( model.appearance.albumTitle[ 'font-weight' ] )write( [[;
- font-size: ]] )write( model.nonCSS.albumTitle_fontsize )write( [[px;
- font-family: ]] )write( model.appearance.albumTitle[ 'font-family' ] )write( [[;
- border: 0px solid ]] )write( model.nonCSS.albumTitleBorderColor )write( [[;
- background: ]] )write( model.nonCSS.albumTitleBGColor )write( [[;
- text-shadow: 1px 1px 0 ]] )write( model.nonCSS.albumTitleShadowColor )write( [[;
- }
- .caption-top {
- border-width: 0px 0px ]] )write( model.nonCSS.albumTitle_border )write( [[px 0px;
- }
- .caption-bottom {
- border-width: ]] )write( model.nonCSS.albumTitle_border )write( [[px 0px 0px 0px;
- }
- .caption a, .caption a {
- border: 0 none;
- text-decoration: none;
- background: #000000;
- padding: 0.3em;
- }
- .caption a:hover, .caption a:hover {
- background: #202020;
- }
- .albumBoxContent, img.captify {
- width: ]] )write( math.floor( model.nonCSS.albumBoxWidth - ( model.nonCSS.albumBoxBorderWidth * 2 ) ) )write( [[px;
- height: ]] )write( math.floor( model.nonCSS.albumBoxHeight - ( model.nonCSS.albumBoxBorderWidth * 2 ) ) )write( [[px;
- }
- .albumBoxContent {
- padding: 0 !important;
- }
- img.captify {
- opacity: 0; filter:alpha(opacity=0);
- }
- ]] ) end end write( [[
- ]] ) if model.nonCSS.home_galleryview then write( [[
- /*
- -- GALLERYVIEW-2 -- */
-
- #gallery { visibility: hidden; }
-
- .gallery {
- margin: 0 auto;
- background-color: ]] )write( model.nonCSS.galleryviewBGC )write( [[;
- border-color: ]] )write( model.nonCSS.galleryviewBC )write( [[;
- ]] ) if model.nonCSS.homeConfiguration == "imageleftcopyright" then write( [[float: left;]] ) elseif model.nonCSS.homeConfiguration == "copyleftimageright" then write( [[float: right;]] ) end write( [[
- }
-
- .loader {
- background-color: ]] )write( model.nonCSS.galleryviewBGC )write( [[;
- }
- .panel {
- margin: 0 auto;
- text-align: center;
- }
-
- .panel img {
- left: 0 !important;
- }
-
- .panel .overlay-background {
- background: ]] )write( model.nonCSS.overlaybackground )write( [[;
- }
-
- .panel .panel-overlay {
- color: ]] )write( model.nonCSS.overlaytext )write( [[;
- }
-
- .panel .panel-overlay a {
- color: ]] )write( model.nonCSS.overlayhyperlink )write( [[;
- }
- .panel .panel-overlay, .panel .overlay-background {
- padding: 10px 5px 5px;
- height: ]] )write( model.nonCSS.overlayHeight )write( [[px;
- text-align: ]] )write( model.appearance[ 'overlay_text' ][ 'text-align' ] )write( [[;
- }
-
- #page_content p.overlay_title {
- margin: 0 0 4px 0 !important;
- padding: 0;
- line-height: 1em;
- font-size: ]] )write( model.nonCSS.overlayTitle )write( [[px;
- }
-
- #page_content p.overlay_caption {
- margin: 0 !important;
- padding: 0;
- line-height: 1em;
- font-size: ]] )write( model.nonCSS.overlayCaption )write( [[px;
- }
-
- .frame .img_wrap {
- border: 1px solid ]] )write( model.nonCSS.galleryviewframesBC )write( [[;
- }
-
- .frame.current .img_wrap {
- border-color: ]] )write( model.nonCSS.galleryviewframecurrentBC )write( [[;
- }
-
- .pointer {
- border-color: ]] )write( model.nonCSS.galleryviewframecurrentBC )write( [[;
- }
- ]] ) end write( [[
- ]] ) if model.nonCSS.sticktobottom then write( [[
- #footer { position: absolute; bottom: 0; left: 0; }]] ) end write( [[
- </style>
- ]] ) if mode == 'publish' then write( [[
- <!-- compliance patch for microsoft browsers -->
- <!--]] .. "[" .. [[if lt IE 8]] .. "]" .. [[>
- <script src="http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE8.js" type="text/javascript"></script>
- <!]] .. "[" .. [[endif]] .. "]" .. [[-->
- ]] ) end write( [[
-
- ]] ) if mode == 'preview' then write( [[
- <script type="text/javascript">
- window.AgMode = "]] )write( mode )write( [[";
- window.AgOnLoad = function() {
- tellLightroomWhatImagesWeAreUsing();
- setActiveImageSize( "]] )write( mySize )write( [[" );
- ]] ) if image then write( [[
- callCallback( "showInPhotoBin", "]] )write( image.imageID )write( [[" );
- ]] ) end write( [[
- }
- </script>
- <script type="text/javascript" src="]] )write( theRoot )write( [[/resources_preview/js/live_update.js"></script>
- ]] ) end write( [[
- ]] )write( model.metadata.style.head )write( [[
- ]] ) if mode == "publish" then write( [[
- ]] )write( model.metadata.script.head )write( [[
- ]] ) end write( [[
-
- </head>
- <body id="about">
- ]] ) --[[ Include the page header]] write( [[
- ]] )
- --[[ Define some variables to make locating other resources easier
- firstPage was defined in our manifest.]]
- local theRoot = "."
- write( [[
- <div id="wrapper">
- ]] ) if model.nonCSS.idplateLocation == "header" then write( [[
- <div id="header_container">
- <div id="header"]] ) if model.nonCSS.fixHeaderWidth then write( [[ style="width: ]] )write( model.nonCSS.fixedHeaderWidth )write( [[px !important;"]] ) end write( [[>
-
- <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>
-
- </div> <!-- /header -->
- </div>
- <div id="menu">
- <div id="menuContent"]] ) if model.nonCSS.fixHeaderWidth then write( [[ style="width: ]] )write( model.nonCSS.fixedHeaderWidth )write( [[px !important;"]] ) end write( [[>
- <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" class="menufirst">]] )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" class="menulast">]] )write( model.metadata.contact.value )write( [[</a></p>
-
- </div>
- </div> <!-- /menu -->
- ]] ) elseif model.nonCSS.idplateLocation == "menu" then write( [[
- <div id="header_container">
- <div id="header"]] ) if model.nonCSS.fixHeaderWidth then write( [[ style="width: ]] )write( model.nonCSS.fixedHeaderWidth )write( [[px !important;"]] ) end write( [[>
- </div> <!-- /header -->
- </div>
-
- <div id="menu">
- <div id="menuContent" ]] ) if model.nonCSS.idplate then write( [[
- 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( [[>
- <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" class="menufirst">]] )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" class="menulast">]] )write( model.metadata.contact.value )write( [[</a></p>
-
- </div>
- </div> <!-- /menu -->
- ]] ) elseif model.nonCSS.idplateLocation == "beneath" then write( [[
-
- <div id="menu" style="margin-bottom: 0 !important;">
- <div id="menuContent"]] ) if model.nonCSS.fixHeaderWidth then write( [[ style="width: ]] )write( model.nonCSS.fixedHeaderWidth )write( [[px !important;"]] ) end write( [[>
- <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" class="menufirst">]] )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" class="menulast">]] )write( model.metadata.contact.value )write( [[</a></p>
-
- </div>
- </div> <!-- /menu -->
- <div id="header_container">
- <div id="header"]] ) if model.nonCSS.fixHeaderWidth then write( [[ style="width: ]] )write( model.nonCSS.fixedHeaderWidth )write( [[px !important;"]] ) end write( [[>
-
- <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>
-
- </div> <!-- /header -->
- </div>
- ]] ) end write( [[
- <div id="page">
- ]] ) if model.nonCSS.aboutConfiguration == "imageleftcopyright" then write( [[
-
- <div id="page_content" class="about">
-
- ]] ) if model.nonCSS.about_stage then write( [[
- <style type="text/css">
- #about_frame { float: left; }
- </style>
- ]] ) if model.nonCSS.about_galleryType == "none" then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <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>
- </div>
- </div>
- ]] ) elseif model.nonCSS.about_galleryType == "autoviewer" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent"></div>
- <script language="JavaScript">
- var flashvars = {
- // langOpenImage: "Open Image in New Window",
- // langAbout: "About",
- xmlURL: "gallery.xml"
- }
- var params = {
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- scale: "noscale",
- base: "about_autoviewer/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_autoviewer/viewer.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
- </script>
- </div>
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "dimin" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <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>
- <script language="JavaScript">
- var flashvars = {
- width: "]] )write( model.nonCSS.about_gallery_width )write( [[",
- height: "]] )write( model.nonCSS.about_gallery_height )write( [[",
- file: "slideshow.xml"
- }
- var params = {
- allowfullscreen: "true",
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- base: "about_dimin/"
- }
- var attributes = {
- }
- 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);
- </script>
- </div>
-
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "flashnifties" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">This gallery requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script language="JavaScript">
- var flashvars = {
- }
- var params = {
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- base: "about_flashnifties/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_flashnifties/xmlGallery.swf", "about_flashcontent", "100%", "100%", "6", false, flashvars, params, attributes);
- </script>
- </div>
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "flickr" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="flickr" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Flickr Setup</strong></p>
- <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>
- <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>
- <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>
- <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>
-
- <p>The URL that will be displayed in your gallery is:</p>
-
- <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>
-
- <p>Check that the URL is correct by clicking on it and verifying its destination.</p>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">Flash is required to view this gallery. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script language="JavaScript">
- var flashvars = {
- offsite: "true",
- lang: "en-us",
- page_show_url: "/photos/]] )write( model.nonCSS.about_flickrUser )write( [[/sets/]] )write( model.nonCSS.about_flickrSet )write( [[/show/",
- set_id: "]] )write( model.nonCSS.about_flickrSet )write( [[",
- page_show_back_url: "/photos/]] )write( model.nonCSS.about_flickrUser )write( [[/sets/]] )write( model.nonCSS.about_flickrSet )write( [[/",
- jump_to: ""
- }
- var params = {
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- allowfullscreen: "true"
- }
- var attributes = {
- }
- swfobject.embedSWF("http://www.flickr.com/apps/slideshow/show.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
- </script>
- </div>
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "lightroomflashgallery" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
- width="100%" height="100%"
- codebase="http://download.macromedia.com/pub/shockwave/
- cabs/flash/swflash.cab">
- <param name="movie" value="about_lightroomflashgallery/resources/gallery.swf"/>
- <param name="flashvars"
- value="livePreview=false
- &baseRefUrl=about_lightroomflashgallery/
- &groupxml=resources/mediaGroupData/group.xml
- &stylexml=resources/styles/style.xml
- &localText=resources/localization/localText.xml"/>
- <param name="id" value="gallery"/>
- <param name="quality" value="high"/>
- <param name="align" value="middle"/>
- <param name="name" value="gallery"/>
- <param name="bgcolor" value="#f7f7f7"/>
- <param name="allowScriptAccess" value="sameDomain"/>
- <param name="menu" value="true"/>
- <embed src="about_lightroomflashgallery/resources/gallery.swf"
- type="application/x-shockwave-flash"
- pluginspage="http://www.macromedia.com/go/getflashplayer"
- flashvars="livePreview=false
- &baseRefUrl=about_lightroomflashgallery/
- &groupxml=resources/mediaGroupData/group.xml
- &stylexml=resources/styles/style.xml
- &localText=resources/localization/localText.xml"
- width="100%" height="100%" quality="high" align="middle"
- allowScriptAccess="sameDomain">
- </embed>
- </object>
- </div>
- </div>
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "monoslideshow" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <p><strong>Please install Flash® and turn on Javascript.</strong></p>
- </div>
- <script language="JavaScript">
- var flashvars = {
- showLogo: "false"
- }
- var params = {
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- base: "about_monoslideshow/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_monoslideshow/monoslideshow.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
- </script>
- </div>
-
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "monoslideshow2" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <p>Please <a href="http://get.adobe.com/flashplayer/">install Flash®</a> and turn on Javascript.</p>
- </div>
- <script type="text/javascript">
- var flashvars = {showLogo: "false", showRegistration: "false"};
- var params = {allowScriptAccess: "sameDomain", allowfullscreen: "true", allowNetworking: "all", base: "about_monoslideshow/"};
- var attributes = {id: "monoslideshow", name: "monoslideshow", bgColor: "]] )write( model.nonCSS.about_stageBGC )write( [["};
- swfobject.embedSWF("about_monoslideshow/monoslideshow.swf", "about_flashcontent", "100%", "100%", "9", false, flashvars, params, attributes);
- </script>
- </div>
-
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "polaroid" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">This gallery requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script language="JavaScript">
- var flashvars = {
- xmlURL: "photos.xml"
- }
- var params = {
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- base: "about_polaroid/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_polaroid/polaroid.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
- </script>
- </div>
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "postcardviewer" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">PostcardViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash here.</a> </div>
- <script language="JavaScript">
- var flashvars = {
- // langOpenImage: "Open Image in New Window",
- // langAbout: "About",
- xmlURL: "gallery.xml"
- }
- var params = {
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- base: "about_postcardviewer/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_postcardviewer/viewer.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
- </script>
- </div>
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "simpleviewer" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script language="JavaScript">
- var flashvars = {
- // langOpenImage: "Open Image in New Window",
- // langAbout: "About",
- preloaderColor: "0xffffff",
- xmlDataPath: "gallery.xml"
- }
- var params = {
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- base: "about_simpleviewer/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_simpleviewer/viewer.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
- </script>
- </div>
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "simpleviewer2" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script type="text/javascript">
- var flashvars = {};
- flashvars.baseURL="about_simpleviewer/";
- flashvars.galleryURL = "gallery.xml";
- var params = {};
- params.allowfullscreen = true;
- params.allowscriptaccess = "always";
- params.bgcolor = "]] )write( model.nonCSS.about_stageBGC )write( [[";
- swfobject.embedSWF("about_simpleviewer/simpleviewer.swf", "about_flashcontent", "100%", "100%", "9.0.124", false, flashvars, params);
- </script>
- </div>
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "slideshowpro" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- This SlideShowPro photo gallery requires the Flash Player plugin and a web browser with JavaScript enabled.
- </div>
-
- <script language="JavaScript">
- <!--
- // Permalinks option
- function flashPutHref(href) { location.href = href; }
-
- // Expand browser option
- var eB = false;
- if (eB) {
- window.moveTo(0,0);
- window.resizeTo (screen.availWidth, screen.availHeight);
- }
-
- // swffit sizing
- var swf_pad = 20;
- function initSwffit(w,h) {
- // If you change name of the DIV the SWF is written at,
- // change 'flashcontent' to the name of your DIV.
- swffit.fit('about_flashcontent',w+swf_pad,h+swf_pad);
- }
-
- // SWFObject embed
- var flashvars = {
- paramXMLPath: "param.xml",
- initialURL: escape(document.location)
- }
- var params = {
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- allowfullscreen: "true",
- base: "about_slideshowpro/"
- }
- var attributes = {}
- swfobject.embedSWF("about_slideshowpro/loader.swf", "about_flashcontent", "100%", "100%", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
- /* below required for google chrome embed issue */
- swffit.fit('about_flashcontent',0,0);
- -->
- </script>
- </div> <!-- /frame -->
-
- ]] ) end write( [[
-
- ]] ) end write( [[
- ]] ) else write( [[
-
- <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;" />
- ]] ) end write( [[
-
- ]] ) if model.nonCSS.about_stage then write( [[
- <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;">
- ]] ) else write( [[
- <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;">
- ]] ) end write( [[
-
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- </div>
-
- <div class="clear"></div>
- </div> <!-- /page_content home -->
- ]] ) elseif model.nonCSS.aboutConfiguration == "copyleftimageright" then write( [[
-
- <div id="page_content" class="about">
-
- ]] ) if model.nonCSS.about_stage then write( [[
- <style type="text/css">
- #about_frame { float: right; }
- </style>
- ]] ) if model.nonCSS.about_galleryType == "none" then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <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>
- </div>
- </div>
- ]] ) elseif model.nonCSS.about_galleryType == "autoviewer" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent"></div>
- <script language="JavaScript">
- var flashvars = {
- // langOpenImage: "Open Image in New Window",
- // langAbout: "About",
- xmlURL: "gallery.xml"
- }
- var params = {
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- scale: "noscale",
- base: "about_autoviewer/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_autoviewer/viewer.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
- </script>
- </div>
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "dimin" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <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>
- <script language="JavaScript">
- var flashvars = {
- width: "]] )write( model.nonCSS.about_gallery_width )write( [[",
- height: "]] )write( model.nonCSS.about_gallery_height )write( [[",
- file: "slideshow.xml"
- }
- var params = {
- allowfullscreen: "true",
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- base: "about_dimin/"
- }
- var attributes = {
- }
- 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);
- </script>
- </div>
-
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "flashnifties" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">This gallery requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script language="JavaScript">
- var flashvars = {
- }
- var params = {
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- base: "about_flashnifties/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_flashnifties/xmlGallery.swf", "about_flashcontent", "100%", "100%", "6", false, flashvars, params, attributes);
- </script>
- </div>
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "flickr" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="flickr" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Flickr Setup</strong></p>
- <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>
- <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>
- <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>
- <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>
-
- <p>The URL that will be displayed in your gallery is:</p>
-
- <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>
-
- <p>Check that the URL is correct by clicking on it and verifying its destination.</p>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">Flash is required to view this gallery. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script language="JavaScript">
- var flashvars = {
- offsite: "true",
- lang: "en-us",
- page_show_url: "/photos/]] )write( model.nonCSS.about_flickrUser )write( [[/sets/]] )write( model.nonCSS.about_flickrSet )write( [[/show/",
- set_id: "]] )write( model.nonCSS.about_flickrSet )write( [[",
- page_show_back_url: "/photos/]] )write( model.nonCSS.about_flickrUser )write( [[/sets/]] )write( model.nonCSS.about_flickrSet )write( [[/",
- jump_to: ""
- }
- var params = {
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- allowfullscreen: "true"
- }
- var attributes = {
- }
- swfobject.embedSWF("http://www.flickr.com/apps/slideshow/show.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
- </script>
- </div>
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "lightroomflashgallery" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
- width="100%" height="100%"
- codebase="http://download.macromedia.com/pub/shockwave/
- cabs/flash/swflash.cab">
- <param name="movie" value="about_lightroomflashgallery/resources/gallery.swf"/>
- <param name="flashvars"
- value="livePreview=false
- &baseRefUrl=about_lightroomflashgallery/
- &groupxml=resources/mediaGroupData/group.xml
- &stylexml=resources/styles/style.xml
- &localText=resources/localization/localText.xml"/>
- <param name="id" value="gallery"/>
- <param name="quality" value="high"/>
- <param name="align" value="middle"/>
- <param name="name" value="gallery"/>
- <param name="bgcolor" value="#f7f7f7"/>
- <param name="allowScriptAccess" value="sameDomain"/>
- <param name="menu" value="true"/>
- <embed src="about_lightroomflashgallery/resources/gallery.swf"
- type="application/x-shockwave-flash"
- pluginspage="http://www.macromedia.com/go/getflashplayer"
- flashvars="livePreview=false
- &baseRefUrl=about_lightroomflashgallery/
- &groupxml=resources/mediaGroupData/group.xml
- &stylexml=resources/styles/style.xml
- &localText=resources/localization/localText.xml"
- width="100%" height="100%" quality="high" align="middle"
- allowScriptAccess="sameDomain">
- </embed>
- </object>
- </div>
- </div>
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "monoslideshow" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <p><strong>Please install Flash® and turn on Javascript.</strong></p>
- </div>
- <script language="JavaScript">
- var flashvars = {
- showLogo: "false"
- }
- var params = {
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- base: "about_monoslideshow/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_monoslideshow/monoslideshow.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
- </script>
- </div>
-
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "monoslideshow2" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <p>Please <a href="http://get.adobe.com/flashplayer/">install Flash®</a> and turn on Javascript.</p>
- </div>
- <script type="text/javascript">
- var flashvars = {showLogo: "false", showRegistration: "false"};
- var params = {allowScriptAccess: "sameDomain", allowfullscreen: "true", allowNetworking: "all", base: "about_monoslideshow/"};
- var attributes = {id: "monoslideshow", name: "monoslideshow", bgColor: "]] )write( model.nonCSS.about_stageBGC )write( [["};
- swfobject.embedSWF("about_monoslideshow/monoslideshow.swf", "about_flashcontent", "100%", "100%", "9", false, flashvars, params, attributes);
- </script>
- </div>
-
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "polaroid" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">This gallery requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script language="JavaScript">
- var flashvars = {
- xmlURL: "photos.xml"
- }
- var params = {
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- base: "about_polaroid/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_polaroid/polaroid.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
- </script>
- </div>
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "postcardviewer" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">PostcardViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash here.</a> </div>
- <script language="JavaScript">
- var flashvars = {
- // langOpenImage: "Open Image in New Window",
- // langAbout: "About",
- xmlURL: "gallery.xml"
- }
- var params = {
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- base: "about_postcardviewer/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_postcardviewer/viewer.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
- </script>
- </div>
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "simpleviewer" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script language="JavaScript">
- var flashvars = {
- // langOpenImage: "Open Image in New Window",
- // langAbout: "About",
- preloaderColor: "0xffffff",
- xmlDataPath: "gallery.xml"
- }
- var params = {
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- base: "about_simpleviewer/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_simpleviewer/viewer.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
- </script>
- </div>
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "simpleviewer2" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script type="text/javascript">
- var flashvars = {};
- flashvars.baseURL="about_simpleviewer/";
- flashvars.galleryURL = "gallery.xml";
- var params = {};
- params.allowfullscreen = true;
- params.allowscriptaccess = "always";
- params.bgcolor = "]] )write( model.nonCSS.about_stageBGC )write( [[";
- swfobject.embedSWF("about_simpleviewer/simpleviewer.swf", "about_flashcontent", "100%", "100%", "9.0.124", false, flashvars, params);
- </script>
- </div>
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "slideshowpro" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- This SlideShowPro photo gallery requires the Flash Player plugin and a web browser with JavaScript enabled.
- </div>
-
- <script language="JavaScript">
- <!--
- // Permalinks option
- function flashPutHref(href) { location.href = href; }
-
- // Expand browser option
- var eB = false;
- if (eB) {
- window.moveTo(0,0);
- window.resizeTo (screen.availWidth, screen.availHeight);
- }
-
- // swffit sizing
- var swf_pad = 20;
- function initSwffit(w,h) {
- // If you change name of the DIV the SWF is written at,
- // change 'flashcontent' to the name of your DIV.
- swffit.fit('about_flashcontent',w+swf_pad,h+swf_pad);
- }
-
- // SWFObject embed
- var flashvars = {
- paramXMLPath: "param.xml",
- initialURL: escape(document.location)
- }
- var params = {
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- allowfullscreen: "true",
- base: "about_slideshowpro/"
- }
- var attributes = {}
- swfobject.embedSWF("about_slideshowpro/loader.swf", "about_flashcontent", "100%", "100%", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
- /* below required for google chrome embed issue */
- swffit.fit('about_flashcontent',0,0);
- -->
- </script>
- </div> <!-- /frame -->
-
- ]] ) end write( [[
-
- ]] ) end write( [[
- ]] ) else write( [[
-
- <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;" />
- ]] ) end write( [[
-
- ]] ) if model.nonCSS.about_stage then write( [[
- <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;">
- ]] ) else write( [[
- <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;">
- ]] ) end write( [[
-
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- </div>
-
- <div class="clear"></div>
- </div> <!-- /page_content home -->
-
- ]] ) elseif model.nonCSS.aboutConfiguration == "imageupcopydown" then write( [[
- <div id="page_content" class="about">
- ]] ) if model.nonCSS.about_stage then write( [[
- <style type="text/css">
- #about_frame { margin: 0 auto 2em !important; }
- </style>
- ]] ) if model.nonCSS.about_galleryType == "none" then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <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>
- </div>
- </div>
- ]] ) elseif model.nonCSS.about_galleryType == "autoviewer" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent"></div>
- <script language="JavaScript">
- var flashvars = {
- // langOpenImage: "Open Image in New Window",
- // langAbout: "About",
- xmlURL: "gallery.xml"
- }
- var params = {
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- scale: "noscale",
- base: "about_autoviewer/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_autoviewer/viewer.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
- </script>
- </div>
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "dimin" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <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>
- <script language="JavaScript">
- var flashvars = {
- width: "]] )write( model.nonCSS.about_gallery_width )write( [[",
- height: "]] )write( model.nonCSS.about_gallery_height )write( [[",
- file: "slideshow.xml"
- }
- var params = {
- allowfullscreen: "true",
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- base: "about_dimin/"
- }
- var attributes = {
- }
- 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);
- </script>
- </div>
-
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "flashnifties" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">This gallery requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script language="JavaScript">
- var flashvars = {
- }
- var params = {
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- base: "about_flashnifties/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_flashnifties/xmlGallery.swf", "about_flashcontent", "100%", "100%", "6", false, flashvars, params, attributes);
- </script>
- </div>
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "flickr" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="flickr" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Flickr Setup</strong></p>
- <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>
- <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>
- <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>
- <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>
-
- <p>The URL that will be displayed in your gallery is:</p>
-
- <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>
-
- <p>Check that the URL is correct by clicking on it and verifying its destination.</p>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">Flash is required to view this gallery. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script language="JavaScript">
- var flashvars = {
- offsite: "true",
- lang: "en-us",
- page_show_url: "/photos/]] )write( model.nonCSS.about_flickrUser )write( [[/sets/]] )write( model.nonCSS.about_flickrSet )write( [[/show/",
- set_id: "]] )write( model.nonCSS.about_flickrSet )write( [[",
- page_show_back_url: "/photos/]] )write( model.nonCSS.about_flickrUser )write( [[/sets/]] )write( model.nonCSS.about_flickrSet )write( [[/",
- jump_to: ""
- }
- var params = {
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- allowfullscreen: "true"
- }
- var attributes = {
- }
- swfobject.embedSWF("http://www.flickr.com/apps/slideshow/show.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
- </script>
- </div>
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "lightroomflashgallery" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
- width="100%" height="100%"
- codebase="http://download.macromedia.com/pub/shockwave/
- cabs/flash/swflash.cab">
- <param name="movie" value="about_lightroomflashgallery/resources/gallery.swf"/>
- <param name="flashvars"
- value="livePreview=false
- &baseRefUrl=about_lightroomflashgallery/
- &groupxml=resources/mediaGroupData/group.xml
- &stylexml=resources/styles/style.xml
- &localText=resources/localization/localText.xml"/>
- <param name="id" value="gallery"/>
- <param name="quality" value="high"/>
- <param name="align" value="middle"/>
- <param name="name" value="gallery"/>
- <param name="bgcolor" value="#f7f7f7"/>
- <param name="allowScriptAccess" value="sameDomain"/>
- <param name="menu" value="true"/>
- <embed src="about_lightroomflashgallery/resources/gallery.swf"
- type="application/x-shockwave-flash"
- pluginspage="http://www.macromedia.com/go/getflashplayer"
- flashvars="livePreview=false
- &baseRefUrl=about_lightroomflashgallery/
- &groupxml=resources/mediaGroupData/group.xml
- &stylexml=resources/styles/style.xml
- &localText=resources/localization/localText.xml"
- width="100%" height="100%" quality="high" align="middle"
- allowScriptAccess="sameDomain">
- </embed>
- </object>
- </div>
- </div>
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "monoslideshow" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <p><strong>Please install Flash® and turn on Javascript.</strong></p>
- </div>
- <script language="JavaScript">
- var flashvars = {
- showLogo: "false"
- }
- var params = {
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- base: "about_monoslideshow/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_monoslideshow/monoslideshow.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
- </script>
- </div>
-
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "monoslideshow2" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <p>Please <a href="http://get.adobe.com/flashplayer/">install Flash®</a> and turn on Javascript.</p>
- </div>
- <script type="text/javascript">
- var flashvars = {showLogo: "false", showRegistration: "false"};
- var params = {allowScriptAccess: "sameDomain", allowfullscreen: "true", allowNetworking: "all", base: "about_monoslideshow/"};
- var attributes = {id: "monoslideshow", name: "monoslideshow", bgColor: "]] )write( model.nonCSS.about_stageBGC )write( [["};
- swfobject.embedSWF("about_monoslideshow/monoslideshow.swf", "about_flashcontent", "100%", "100%", "9", false, flashvars, params, attributes);
- </script>
- </div>
-
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "polaroid" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">This gallery requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script language="JavaScript">
- var flashvars = {
- xmlURL: "photos.xml"
- }
- var params = {
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- base: "about_polaroid/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_polaroid/polaroid.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
- </script>
- </div>
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "postcardviewer" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">PostcardViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash here.</a> </div>
- <script language="JavaScript">
- var flashvars = {
- // langOpenImage: "Open Image in New Window",
- // langAbout: "About",
- xmlURL: "gallery.xml"
- }
- var params = {
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- base: "about_postcardviewer/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_postcardviewer/viewer.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
- </script>
- </div>
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "simpleviewer" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script language="JavaScript">
- var flashvars = {
- // langOpenImage: "Open Image in New Window",
- // langAbout: "About",
- preloaderColor: "0xffffff",
- xmlDataPath: "gallery.xml"
- }
- var params = {
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- base: "about_simpleviewer/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_simpleviewer/viewer.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
- </script>
- </div>
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "simpleviewer2" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script type="text/javascript">
- var flashvars = {};
- flashvars.baseURL="about_simpleviewer/";
- flashvars.galleryURL = "gallery.xml";
- var params = {};
- params.allowfullscreen = true;
- params.allowscriptaccess = "always";
- params.bgcolor = "]] )write( model.nonCSS.about_stageBGC )write( [[";
- swfobject.embedSWF("about_simpleviewer/simpleviewer.swf", "about_flashcontent", "100%", "100%", "9.0.124", false, flashvars, params);
- </script>
- </div>
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "slideshowpro" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- This SlideShowPro photo gallery requires the Flash Player plugin and a web browser with JavaScript enabled.
- </div>
-
- <script language="JavaScript">
- <!--
- // Permalinks option
- function flashPutHref(href) { location.href = href; }
-
- // Expand browser option
- var eB = false;
- if (eB) {
- window.moveTo(0,0);
- window.resizeTo (screen.availWidth, screen.availHeight);
- }
-
- // swffit sizing
- var swf_pad = 20;
- function initSwffit(w,h) {
- // If you change name of the DIV the SWF is written at,
- // change 'flashcontent' to the name of your DIV.
- swffit.fit('about_flashcontent',w+swf_pad,h+swf_pad);
- }
-
- // SWFObject embed
- var flashvars = {
- paramXMLPath: "param.xml",
- initialURL: escape(document.location)
- }
- var params = {
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- allowfullscreen: "true",
- base: "about_slideshowpro/"
- }
- var attributes = {}
- swfobject.embedSWF("about_slideshowpro/loader.swf", "about_flashcontent", "100%", "100%", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
- /* below required for google chrome embed issue */
- swffit.fit('about_flashcontent',0,0);
- -->
- </script>
- </div> <!-- /frame -->
-
- ]] ) end write( [[
-
- ]] ) end write( [[
- ]] ) else write( [[
-
- <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;" />
- ]] ) end write( [[
-
- <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;">
-
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- </div>
-
- <div class="clear"></div>
- </div> <!-- /page_content home -->
-
- ]] ) elseif model.nonCSS.aboutConfiguration == "copyupimagedown" then write( [[
- <div id="page_content" class="about">
-
- <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;">
-
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- </div>
-
- ]] ) if model.nonCSS.home_stage then write( [[
- <style type="text/css">
- #home_frame { margin: 2em auto 0 !important; }
- </style>
- ]] ) if model.nonCSS.about_galleryType == "none" then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <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>
- </div>
- </div>
- ]] ) elseif model.nonCSS.about_galleryType == "autoviewer" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent"></div>
- <script language="JavaScript">
- var flashvars = {
- // langOpenImage: "Open Image in New Window",
- // langAbout: "About",
- xmlURL: "gallery.xml"
- }
- var params = {
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- scale: "noscale",
- base: "about_autoviewer/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_autoviewer/viewer.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
- </script>
- </div>
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "dimin" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <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>
- <script language="JavaScript">
- var flashvars = {
- width: "]] )write( model.nonCSS.about_gallery_width )write( [[",
- height: "]] )write( model.nonCSS.about_gallery_height )write( [[",
- file: "slideshow.xml"
- }
- var params = {
- allowfullscreen: "true",
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- base: "about_dimin/"
- }
- var attributes = {
- }
- 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);
- </script>
- </div>
-
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "flashnifties" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">This gallery requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script language="JavaScript">
- var flashvars = {
- }
- var params = {
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- base: "about_flashnifties/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_flashnifties/xmlGallery.swf", "about_flashcontent", "100%", "100%", "6", false, flashvars, params, attributes);
- </script>
- </div>
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "flickr" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="flickr" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Flickr Setup</strong></p>
- <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>
- <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>
- <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>
- <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>
-
- <p>The URL that will be displayed in your gallery is:</p>
-
- <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>
-
- <p>Check that the URL is correct by clicking on it and verifying its destination.</p>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">Flash is required to view this gallery. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script language="JavaScript">
- var flashvars = {
- offsite: "true",
- lang: "en-us",
- page_show_url: "/photos/]] )write( model.nonCSS.about_flickrUser )write( [[/sets/]] )write( model.nonCSS.about_flickrSet )write( [[/show/",
- set_id: "]] )write( model.nonCSS.about_flickrSet )write( [[",
- page_show_back_url: "/photos/]] )write( model.nonCSS.about_flickrUser )write( [[/sets/]] )write( model.nonCSS.about_flickrSet )write( [[/",
- jump_to: ""
- }
- var params = {
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- allowfullscreen: "true"
- }
- var attributes = {
- }
- swfobject.embedSWF("http://www.flickr.com/apps/slideshow/show.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
- </script>
- </div>
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "lightroomflashgallery" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
- width="100%" height="100%"
- codebase="http://download.macromedia.com/pub/shockwave/
- cabs/flash/swflash.cab">
- <param name="movie" value="about_lightroomflashgallery/resources/gallery.swf"/>
- <param name="flashvars"
- value="livePreview=false
- &baseRefUrl=about_lightroomflashgallery/
- &groupxml=resources/mediaGroupData/group.xml
- &stylexml=resources/styles/style.xml
- &localText=resources/localization/localText.xml"/>
- <param name="id" value="gallery"/>
- <param name="quality" value="high"/>
- <param name="align" value="middle"/>
- <param name="name" value="gallery"/>
- <param name="bgcolor" value="#f7f7f7"/>
- <param name="allowScriptAccess" value="sameDomain"/>
- <param name="menu" value="true"/>
- <embed src="about_lightroomflashgallery/resources/gallery.swf"
- type="application/x-shockwave-flash"
- pluginspage="http://www.macromedia.com/go/getflashplayer"
- flashvars="livePreview=false
- &baseRefUrl=about_lightroomflashgallery/
- &groupxml=resources/mediaGroupData/group.xml
- &stylexml=resources/styles/style.xml
- &localText=resources/localization/localText.xml"
- width="100%" height="100%" quality="high" align="middle"
- allowScriptAccess="sameDomain">
- </embed>
- </object>
- </div>
- </div>
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "monoslideshow" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <p><strong>Please install Flash® and turn on Javascript.</strong></p>
- </div>
- <script language="JavaScript">
- var flashvars = {
- showLogo: "false"
- }
- var params = {
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- base: "about_monoslideshow/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_monoslideshow/monoslideshow.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
- </script>
- </div>
-
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "monoslideshow2" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <p>Please <a href="http://get.adobe.com/flashplayer/">install Flash®</a> and turn on Javascript.</p>
- </div>
- <script type="text/javascript">
- var flashvars = {showLogo: "false", showRegistration: "false"};
- var params = {allowScriptAccess: "sameDomain", allowfullscreen: "true", allowNetworking: "all", base: "about_monoslideshow/"};
- var attributes = {id: "monoslideshow", name: "monoslideshow", bgColor: "]] )write( model.nonCSS.about_stageBGC )write( [["};
- swfobject.embedSWF("about_monoslideshow/monoslideshow.swf", "about_flashcontent", "100%", "100%", "9", false, flashvars, params, attributes);
- </script>
- </div>
-
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "polaroid" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">This gallery requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script language="JavaScript">
- var flashvars = {
- xmlURL: "photos.xml"
- }
- var params = {
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- base: "about_polaroid/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_polaroid/polaroid.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
- </script>
- </div>
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "postcardviewer" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">PostcardViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash here.</a> </div>
- <script language="JavaScript">
- var flashvars = {
- // langOpenImage: "Open Image in New Window",
- // langAbout: "About",
- xmlURL: "gallery.xml"
- }
- var params = {
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- base: "about_postcardviewer/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_postcardviewer/viewer.swf", "about_flashcontent", "100%", "100%", "8", false, flashvars, params, attributes);
- </script>
- </div>
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "simpleviewer" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script language="JavaScript">
- var flashvars = {
- // langOpenImage: "Open Image in New Window",
- // langAbout: "About",
- preloaderColor: "0xffffff",
- xmlDataPath: "gallery.xml"
- }
- var params = {
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- base: "about_simpleviewer/"
- }
- var attributes = {
- }
- swfobject.embedSWF("about_simpleviewer/viewer.swf", "about_flashcontent", "100%", "100%", "7", false, flashvars, params, attributes);
- </script>
- </div>
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "simpleviewer2" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
- <script type="text/javascript">
- var flashvars = {};
- flashvars.baseURL="about_simpleviewer/";
- flashvars.galleryURL = "gallery.xml";
- var params = {};
- params.allowfullscreen = true;
- params.allowscriptaccess = "always";
- params.bgcolor = "]] )write( model.nonCSS.about_stageBGC )write( [[";
- swfobject.embedSWF("about_simpleviewer/simpleviewer.swf", "about_flashcontent", "100%", "100%", "9.0.124", false, flashvars, params);
- </script>
- </div>
- ]] ) end write( [[
- ]] ) elseif model.nonCSS.about_galleryType == "slideshowpro" then write( [[
- ]] ) if mode == 'preview' then write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- <div id="gallerystage" style="padding:1em;font-size:11px;line-height:17px;">
- <p><strong>Setup Instructions</strong></p>
- <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>
- </div>
- </div>
- </div>
- ]] ) else write( [[
- <div id="about_frame">
- <div id="about_flashcontent">
- This SlideShowPro photo gallery requires the Flash Player plugin and a web browser with JavaScript enabled.
- </div>
-
- <script language="JavaScript">
- <!--
- // Permalinks option
- function flashPutHref(href) { location.href = href; }
-
- // Expand browser option
- var eB = false;
- if (eB) {
- window.moveTo(0,0);
- window.resizeTo (screen.availWidth, screen.availHeight);
- }
-
- // swffit sizing
- var swf_pad = 20;
- function initSwffit(w,h) {
- // If you change name of the DIV the SWF is written at,
- // change 'flashcontent' to the name of your DIV.
- swffit.fit('about_flashcontent',w+swf_pad,h+swf_pad);
- }
-
- // SWFObject embed
- var flashvars = {
- paramXMLPath: "param.xml",
- initialURL: escape(document.location)
- }
- var params = {
- bgcolor: "]] )write( model.nonCSS.about_stageBGC )write( [[",
- allowfullscreen: "true",
- base: "about_slideshowpro/"
- }
- var attributes = {}
- swfobject.embedSWF("about_slideshowpro/loader.swf", "about_flashcontent", "100%", "100%", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
- /* below required for google chrome embed issue */
- swffit.fit('about_flashcontent',0,0);
- -->
- </script>
- </div> <!-- /frame -->
-
- ]] ) end write( [[
-
- ]] ) end write( [[
- ]] ) else write( [[
-
- <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( [[" />
- ]] ) end write( [[
-
- <div class="clear"></div>
- </div> <!-- /page_content home -->
-
- ]] ) elseif model.nonCSS.aboutConfiguration == "noimagecopycenter" then write( [[
- <div id="page_content" class="about">
-
- <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;">
-
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- ]] ) 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( [[
- </div>
-
- <div class="clear"></div>
- </div> <!-- /page_content home -->
-
- ]] ) end write( [[
-
- </div> <!-- /gallery -->
-
- ]] ) --[[ Include the page footer ]] write( [[
- ]] ) if model.nonCSS.includeFooter then write( [[
- <div id="footer"]] ) if model.nonCSS.transparentBackground then write( [[ style="background-color: transparent !important;"]] ) end write( [[>
- <div id="footer_content">
- ]] ) 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( [[
- <p]] ) if mode == "preview" then write( [[ onclick="clickTarget (this, 'metadata.footer.text');"]] ) end write( [[ class="footer_text">]] )write( model.metadata.footer.text )write( [[
- ]] ) 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( [[
- </p>
- </div>
- </div>
- ]] ) end write( [[
- </div> <!-- /wrapper -->
- ]] ) if mode == 'publish' then write( [[
- ]] )write( model.metadata.script.footer )write( [[
-
- ]] ) if model.nonCSS.disablerightclick then write( [[
- <script type="text/javascript">
- $(document).ready(function(){
- $(document).bind("contextmenu",function(e){
- return false;
- });
- });
- </script>]] ) end write( [[
- ]] ) if model.nonCSS.googleAnalytics then write( [[
- <script type="text/javascript">
- var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
- document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
- </script>
- <script type="text/javascript">
- try {
- var pageTracker = _gat._getTracker("]] )write( model.metadata.googleAnalytics.id )write( [[");
- pageTracker._trackPageview();
- } catch(err) {}
- </script>
- ]] ) end write( [[
- ]] ) end write( [[
- </body>
- </html>]] )