# HG changeset patch # User robcast # Date 1055364006 -7200 # Node ID cbfc008b4245a1e1b5c300309f5d142d6e0573c6 # Parent 8afac7d7c1e6e284f2f427143fbf0a7e6e421e8b digicat takes mode argument as fourth argument (needed for speedy thumbnails with mo=fit,lores) diff -r 8afac7d7c1e6 -r cbfc008b4245 client/digitallibrary/navcat_ie.js --- a/client/digitallibrary/navcat_ie.js Wed Jun 11 22:37:43 2003 +0200 +++ b/client/digitallibrary/navcat_ie.js Wed Jun 11 22:40:06 2003 +0200 @@ -38,7 +38,7 @@ for (j = 0; j < att[3]; j++) { indexNr = parseInt(att[1])+i*parseInt(att[3])+j; thumb = parent.baseUrl + "/servlet/Scaler/"; - thumb += att[0] + "?" + "pn=" + indexNr + "&ws=1.0&mo=fit&dw=" + cellWidth + "&dh=" + (cellHeight-25); + thumb += att[0] + "?" + "pn=" + indexNr + "&ws=1.0&mo=" + att[4] + "&dw=" + cellWidth + "&dh=" + (cellHeight-25); whichFrame.document.write(''); whichFrame.document.write(''); whichFrame.document.write(''); diff -r 8afac7d7c1e6 -r cbfc008b4245 client/digitallibrary/navcat_n4.js --- a/client/digitallibrary/navcat_n4.js Wed Jun 11 22:37:43 2003 +0200 +++ b/client/digitallibrary/navcat_n4.js Wed Jun 11 22:40:06 2003 +0200 @@ -38,7 +38,7 @@ for (j = 0; j < att[3]; j++) { indexNr = parseInt(att[1])+i*parseInt(att[3])+j; thumb = parent.baseUrl + "/servlet/Scaler/"; - thumb += att[0] + "?" + "pn=" + indexNr + "&ws=1.0&mo=fit&dw=" + cellWidth + "&dh=" + (cellHeight-25); + thumb += att[0] + "?" + "pn=" + indexNr + "&ws=1.0&mo=" + att[4] + "&dw=" + cellWidth + "&dh=" + (cellHeight-25); whichFrame.document.write(''); whichFrame.document.write(''); whichFrame.document.write(''); diff -r 8afac7d7c1e6 -r cbfc008b4245 client/digitallibrary/navcat_n6.js --- a/client/digitallibrary/navcat_n6.js Wed Jun 11 22:37:43 2003 +0200 +++ b/client/digitallibrary/navcat_n6.js Wed Jun 11 22:40:06 2003 +0200 @@ -38,7 +38,7 @@ for (j = 0; j < att[3]; j++) { indexNr = parseInt(att[1])+i*parseInt(att[3])+j; thumb = parent.baseUrl + "/servlet/Scaler/"; - thumb += att[0] + "?" + "pn=" + indexNr + "&ws=1.0&mo=fit&dw=" + cellWidth + "&dh=" + (cellHeight-25); + thumb += att[0] + "?" + "pn=" + indexNr + "&ws=1.0&mo=" + att[4] + "&dw=" + cellWidth + "&dh=" + (cellHeight-25); whichFrame.document.write(''); whichFrame.document.write(''); whichFrame.document.write(''); @@ -118,4 +118,5 @@ if (att.length < 4) { att[3] = 4; } + }