.
This commit is contained in:
@@ -477,9 +477,11 @@
|
||||
|
||||
|
||||
const element = $("<div class='thumb'></div>").get(0)
|
||||
|
||||
const imageId = cornerstoneWADOImageLoader.wadouri.fileManager.add(
|
||||
file
|
||||
);
|
||||
cornerstone.enable(element);
|
||||
cornerstone.loadAndCacheImage(reader.result).then(function(image) {
|
||||
cornerstone.loadAndCacheImage(imageId).then(function(image) {
|
||||
cornerstone.displayImage(element, image);
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user