Bug Fix: Only first frame of multiframe images is being rendered.
This commit is contained in:
1 parent
e2322ec05a
commit
75e027fee5
6 files changed
+29
-31
No files matched your search
+1
-1
@@ -15,7 +15,7 @@ Template.imageThumbnail.onCreated(() => {
|
||||
const lastIndex = (stack.images.length || 1) - 1;
|
||||
const imageIndex = Math.floor(lastIndex / 2);
|
||||
const imageInstance = stack.images[imageIndex];
|
||||
return getImageId(imageInstance);
|
||||
return getImageId(imageInstance.getData());
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user