# HG changeset patch # User robcast # Date 1055364006 -7200 # Node ID f612e78f9e1464a93007a1c3bbe4637510d30a43 # Parent 0461106a8124511cc25863b9c56fe5e776976d68 digicat takes mode argument as fourth argument (needed for speedy thumbnails with mo=fit,lores) diff -r 0461106a8124 -r f612e78f9e14 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 0461106a8124 -r f612e78f9e14 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 0461106a8124 -r f612e78f9e14 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; } + }