dicom-microscopy-viewer
dicom-microscopy-viewer copied to clipboard
On line example site doesn't work
The on line example website (https://microscopy.dcmjs.org/) doesn't display WSIs and shows white blank pages.
Thank you @yliu7366 for reporting the issue. The seems the examples have not been updated server-side. @pieper @swederik @Punzo @igoroctaviano do you have any insight into why the examples are not up-to-date on the server?
I don't have access to the server, maybe Igor, Erik for sure.
@swederik are the examples being deployed automatically in https://microscopy.dcmjs.org/ when a release is done (we are currently at version 0.30.1 and the examples are probably at version ~0.20)? or is something that we need to start manually?
I'm not sure why but for sure something is wrong with this latest deployed example site.
Is it not using the es5 output? Otherwise you could try providing it with the module tag in the
How can I quickly check features if the online examples don't work?
The examples also don't work locally when using <script src="https://unpkg.com/dicom-microscopy-viewer"></script>
. However, they work when using <script src="../../build/dicom-microscopy-viewer.js">
.
How can I quickly check features if the online examples don't work?
@Sledzik you can check locally, instructing <script>...</script>
to use the locally built bundle (see above https://github.com/MGHComputationalPathology/dicom-microscopy-viewer/issues/55#issuecomment-862343823).
https://github.com/MGHComputationalPathology/dicom-microscopy-viewer/blob/master/examples/blend/index.html#L23-L28