.
This commit is contained in:
@@ -674,11 +674,11 @@ export function loadCornerstone(main_element, db, images, annotations_to_load, l
|
||||
});
|
||||
}
|
||||
} else {
|
||||
if (image_url.startsWith("wadouri")) {
|
||||
if (image_url.startsWith("wadouri") || image_url.startsWith("base64")) {
|
||||
cornerstone.loadAndCacheImage(image_url).then(function (image) {
|
||||
loadCornerstoneThumb(image, id);
|
||||
});
|
||||
} else if ((!image_url.endsWith("dicom") && !image_url.endsWith("dcm")) || image_url.startsWith("base64")) {
|
||||
} else if ((!image_url.endsWith("dicom") && !image_url.endsWith("dcm"))) {
|
||||
img = $("<img />", {
|
||||
src: image_url,
|
||||
id: "thumb-image-" + id,
|
||||
|
||||
Reference in New Issue
Block a user