Changeset 28054

Show
Ignore:
Timestamp:
15.08.2013 10:43:43 (6 years ago)
Author:
sjm84
Message:

Remove zooming

Location:
main/trunk/model-cols-dev/pei-jones/collect/photos
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/model-cols-dev/pei-jones/collect/photos/etc/collectionConfig.xml

    r28053 r28054  
    467467                <xsl:call-template name="wrappedSectionText"/> 
    468468            </gsf:template> 
     469            <gsf:option name="disableZoom" value="true"/> 
    469470        </format> 
    470471    </display> 
  • main/trunk/model-cols-dev/pei-jones/collect/photos/transform/pages/document.xsl

    r27948 r28054  
    7474 
    7575        <xsl:choose> 
    76             <xsl:when test="metadataList/metadata[@name = 'Screen'] and metadataList/metadata[@name = 'SourceFile'] and ($imageWidth div $screenImageWidth &gt; 1.2)"> 
     76            <xsl:when test="metadataList/metadata[@name = 'Screen'] and metadataList/metadata[@name = 'SourceFile'] and ($imageWidth div $screenImageWidth &gt; 1.2)  and (not(/page/pageResponse/format[@type='display']/gsf:option[@name='disableZoom']) or /page/pageResponse/format[@type='display']/gsf:option[@name='disableZoom']/@value='false')"> 
    7777                <div id="image{@nodeID}"> 
    7878                    <div class="zoomImage" id="wrap{util:replace(@nodeID, '.', '_')}" style="position:relative; width: {$screenImageWidth}px; height: {$screenImageHeight}px;"> 
     
    144144        <gsf:variable name="imageWidth" xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat"><gsf:metadata name="ImageWidth"/></gsf:variable> 
    145145        <gsf:variable name="imageHeight" xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat"><gsf:metadata name="ImageHeight"/></gsf:variable> 
    146      
    147      
     146 
    148147        <xsl:variable name="ScreenName">Screen</xsl:variable> 
    149148