diff --git a/explorer.js b/explorer.js index 3893231..c4630ac 100644 --- a/explorer.js +++ b/explorer.js @@ -1717,7 +1717,15 @@ function shuffleImagesToFront(array) { return array; } const hasImage = function(x) { return inscriptions.get(x).facsimileImages.length > 0; } - let a1 = shuffle(array.filter((v, i, a) => hasImage(v))); + const hasLetterMaps = function(x) { + var imgs = inscriptions.get(x).facsimileImages; + if (!imgs.length) { + return false; + } + return imgs.some(v => coordinates.has(v)); + } + let a1 = shuffle(array.filter((v, i, a) => hasLetterMaps(v))); + a1 = a1.concat(shuffle(array.filter((v, i, a) => hasImage(v)))); a1 = a1.concat(shuffle(array.filter((v, i, a) => !hasImage(v)))); return a1; diff --git a/images/photos/Kn676.jpg b/images/photos/Kn676.jpg index 0b9a05b..d04f836 100644 Binary files a/images/photos/Kn676.jpg and b/images/photos/Kn676.jpg differ