<%! String revize_photo_gallery_V2 = ""; // set plugin active %><%-- #RevizeProperties USE REVIZE MENU (DOCUMENT PROPERTIES) TO EDIT DATA BELOW: status=edit options=@@options@@ server=cms3.revize.com projectName=reidsville label=photo_gallery location=photo_gallery/photo_galleryV2_template_include.jsp version= docType=include subType=include moduleName= fieldName= channels=| description= --%><%-- __________________________________________________________________________________________ Use the following to include into a Revize template: <% include file="/plugins/photo_gallery/photo_gallery.template_include.V2.jsp" %> ---------- Version 2: ---------- The thumbnail buttons follow the displayed image and do not display over the center image as was done on V1. The displayed image had height=480 hardcoded & all images are resized to a consistant height; thumbnails position remains constant under the displayed image. There is no longer any code inserted before the /body tag. TODO: displayed image height is hardcoded as 480px; make configuration parameter. NOTE: Probably backward compatible with V1 but not tested -once tested could replace: photo_gallery.top_image.template_include.jsp -but requires photo_galleryV2_import.txt for updated css String revize_photo_gallery_V2 does not include any endbody code __________________________________________________________________________________________ --%><% { String VERSION = "V2_04-12-2012"; %> <% rz.fetch( "plugin_photo_gallery_config", "music_by_page", ""); if (rz.content.equals("yes")) rz.fetch( "plugin_photo_gallery_config", "music", "file", "pageid="+rz.pageid); else rz.filename = "noimage"; if (rz.filename.equals("noimage")) rz.fetch( "plugin_photo_gallery_config", "music", "file"); %>
<%-- #BeginRZ-ActionButton --%> <%-- Option:type=ForwardEditFormImage --%> <%-- Option:caption=Configuration --%> <%-- #EndRZ-ActionButton --%> <% if (rz.fetch("plugin_photo_gallery_config","music_by_page","","pageid=site").equals("yes")) { %> <%-- #BeginRZ-ActionButton --%> <%-- Option:type=ForwardEditFormImage --%> <%-- Option:caption=Edit Music --%> <%-- #EndRZ-ActionButton --%> <% } %> <%-- #BeginRZ-ActionButton --%> <%-- Option:type=ForwardEditListImage --%> <%-- Option:caption=Upload Images --%> <%-- #EndRZ-ActionButton --%>
    <% String plugin_photo_gallery_images = ""; boolean photo_gallery_include_sample_images = rz.fetch( "plugin_photo_gallery_config", "include_sample_images").equals("yes"); %>" options="noscript"><% while ( rz.listnext() ) { if (rz.listindex < 0) break; %><% rz.fetch("plugin_photo_gallery","image","image,display"); plugin_photo_gallery_images += ",'" + rz.src + "'"; %>
  • <% %>
    <% } %>
info info info info
<% int photo_gallery_delay = StringUtils.toInt(rz.fetch( "plugin_photo_gallery_config", "delay")); %>
<% } %>