Index: lams_tool_images/web/pages/learning/learning.jsp =================================================================== diff -u -rd0f4c3bdd871e236755472c8443c337b2b96e48c -r330b0d5f8fa4a8deb6d7454f92bdbd289e89cb82 --- lams_tool_images/web/pages/learning/learning.jsp (.../learning.jsp) (revision d0f4c3bdd871e236755472c8443c337b2b96e48c) +++ lams_tool_images/web/pages/learning/learning.jsp (.../learning.jsp) (revision 330b0d5f8fa4a8deb6d7454f92bdbd289e89cb82) @@ -31,7 +31,7 @@ - + @@ -46,9 +46,7 @@ - <%@ include file="/common/uppylang.jsp"%> - @@ -58,7 +56,7 @@ $(document).ready(function(){ $('.fotorama') - .on('fotorama:show ', + .on('fotorama:show ', function (e, fotorama, extra) { loadImageData(fotorama.activeFrame.id); } @@ -67,38 +65,37 @@ //TODO history : true, width: ${mediumImageDimensions + 60}, height: Math.round(${mediumImageDimensions + 60}*9/16), - maxwidth: '100%', - //ratio: 16/9, - allowfullscreen: true, - keyboard: true, - nav: 'thumbs', - fit: 'scaledown', - //thumbfit: 'contain', - loop: true, - thumbwidth: 80,//${thumbnailImageDimensions}, - thumbheight: 80,//${thumbnailImageDimensions}, - data: [ - - { - img: "download/?uuid=${image.mediumFileDisplayUuid}&preferDownload=false", - full: "download/?uuid=${image.originalFileDisplayUuid}&preferDownload=false", - id: '${image.uid}', // Custom anchor is used with the hash:true option. - caption:'
${image.titleEscaped}
' + - '
${image.descriptionEscaped}
' - - - ${fn:replace(portrait, "'", "\\'")} <%-- escape the url --%> + maxwidth: '100%', + //ratio: 16/9, + allowfullscreen: true, + keyboard: true, + nav: 'thumbs', + fit: 'scaledown', + //thumbfit: 'contain', + loop: true, + thumbwidth: 80,//${thumbnailImageDimensions}, + thumbheight: 80,//${thumbnailImageDimensions}, + data: [ + + { + img: "download/?uuid=${image.mediumFileDisplayUuid}&preferDownload=false", + full: "download/?uuid=${image.originalFileDisplayUuid}&preferDownload=false", + id: '${image.uid}', // Custom anchor is used with the hash:true option. + caption:'
${image.titleEscaped}
' + + '
${image.descriptionEscaped}
' + + + ${fn:replace(portrait, "'", "\\'")} <%-- escape the url --%> + '
${portrait}
' -
- //html: $('selector'), // ...or '
123
'. Custom HTML inside the frame. - //fit: 'cover' // Override the global fit option. - //any: 'Any data relative to the frame you want to store' - }, -
- ] - } - ); - +
+ //html: $('selector'), // ...or '
123
'. Custom HTML inside the frame. + //fit: 'cover' // Override the global fit option. + //any: 'Any data relative to the frame you want to store' + }, +
+ ] + } + ); }); function checkNew(){ @@ -131,7 +128,7 @@
<%--Advanced settings and notices-----------------------------------%> - + @@ -177,9 +174,11 @@ -
- -
+ +
+ +
+
<%--Main image---------------------------------------------------%>
@@ -195,7 +194,7 @@
- +