Hello, I have questions about the documentation, I did a quick reading and I didn't understand very well how OHIF Viewer works with a script tag.
In the basic configuration, I haven't found a location explaining how each parameter works.
window.config = {
routerBasename: '/',
servers: {
dicomWeb: [
{
name: 'DCM4CHEE',
qidoRoot: 'https://server.dcmjs.org/dcm4chee-arc/aets/DCM4CHEE/rs',
wadoRoot: 'https://server.dcmjs.org/dcm4chee-arc/aets/DCM4CHEE/rs',
qidoSupportsIncludeField: true,
imageRendering: 'wadors',
thumbnailRendering: 'wadors',
},
],
},
};
I would like to know what each one is for to understand how it works. I may not have paid attention, but how do I manage to view a DICOM image? From a directory with a file or a url.

My goal is to use the viewer on any html page with javascript. Without a code it is difficult to help me, but I just need information to help me understand how it works and set it up correctly.
The following links did not clarify my doubts:
https://codesandbox.io/s/viewer-script-tag-tprch
https://docs.ohif.org/deployment/recipes/embedded-viewer.html
https://docs.ohif.org/configuring/
Thank you in advance.
Kind regards,
Gleison Andrade
Not sure if this help you. But there is a local file mode.
In your https://codesandbox.io/s/viewer-script-tag-tprch example, Try adding local at the end of your url.
i.e. https://tprch.csb.app/local
You'll be prompted to select a file or directory.
Most helpful comment
Not sure if this help you. But there is a local file mode.
In your https://codesandbox.io/s/viewer-script-tag-tprch example, Try adding
localat the end of your url.i.e. https://tprch.csb.app/local
You'll be prompted to select a file or directory.