diff --git a/src/stackTools/stackPrefetch.js b/src/stackTools/stackPrefetch.js index 52459de71..ebab9df84 100755 --- a/src/stackTools/stackPrefetch.js +++ b/src/stackTools/stackPrefetch.js @@ -245,7 +245,7 @@ function prefetch(element) { requestFn = id => external.cornerstone.loadAndCacheImage(id, options); } - imageIdsToPrefetch.forEach(imageId => { + imageIdsToPrefetch.reverse().forEach(imageId => { external.cornerstone.imageLoadPoolManager.addRequest( requestFn.bind(null, imageId), requestType,