diff --git a/src/JsonValidator/SceneGraph/MemberImagesList.svelte b/src/JsonValidator/SceneGraph/MemberImagesList.svelte new file mode 100644 index 0000000..a11df4d --- /dev/null +++ b/src/JsonValidator/SceneGraph/MemberImagesList.svelte @@ -0,0 +1,210 @@ + + +
+

Member Images

+ + {#if memberImages.length === 0} +

No member images found in scene metadata.

+ {:else} +
+
+
Path
+
Valid
+
+ {#each memberImages as path} + {@const validationPromise = checkValidation(path)} + +
+ {path} +
+
+ {#await validationPromise} + + + + {:then isValid} + + + + {:catch} + + + + {/await} +
+
+ {/each} +
+ {/if} +
+ + diff --git a/src/JsonValidator/index.svelte b/src/JsonValidator/index.svelte index f4800ef..ab8639d 100644 --- a/src/JsonValidator/index.svelte +++ b/src/JsonValidator/index.svelte @@ -9,6 +9,7 @@ import OpenWith from "./OpenWithViewers/index.svelte"; import Thumbnail from "./Thumbnail/index.svelte"; import SceneGraph from "./SceneGraph/index.svelte"; + import MemberImagesList from "./SceneGraph/MemberImagesList.svelte"; import { CURRENT_VERSION, @@ -128,6 +129,10 @@ {:catch error} {/await} + + {#if omeAttrs.scene} + + {/if} {#if omeAttrs.multiscales}