cylab-tw / bluelight

a browser-based DICOM viewer
MIT License
117 stars 45 forks source link

Configuration for local files? #5

Closed gsaielli closed 2 years ago

gsaielli commented 2 years ago

Where do we configure Bluelight to load local files?

cylien commented 2 years ago

Just drag and drop files or folders to BlueLight. There is no need to configure it. Also, there is an icon for opening local files in the first left position on the top menu.

gsaielli commented 2 years ago

By local I mean the same webserver where blue is hosted. Can we view DICOM images hosted in the same server? How? BTW if there is no need to configure, what's the point of the data/config.json file?

Thanks.

cylien commented 2 years ago

Can we view DICOM images hosted in the same server? How? BTW if there is no need to configure, what's the point of the data/config.json file?

The data/config.json is used for configuring the connection for DICOMWeb Servers such as Orthanc, DCM4CHEE, etc. BL is hosted in a web server can be a role of ''bridge' to connect to any DIOCMWeb server.

gsaielli commented 2 years ago

Well I was unable to connect to my local Orthanc and still wondering if i can use LOCAL DICOM folders, instead of having to upload each time.

cylien commented 2 years ago

Because we used the Orthanc as the demo server, so you can just modify a few parameters such as.

            "AETitle": "YMOrthanc",          // Orthanc  as default value for Orthanc
            "QIDO-enableHTTPS": true,    // enable false if no TLS enabled by default 
            "WADO-enableHTTPS": true,    // enable false if no TLS enabled by default 
            "QIDO-hostname": "orthanc.dicom.tw",  // replace to your hostname or IP
            "WADO-hostname": "orthanc.dicom.tw",  // replace to your hostname or IP
            "QIDO-PORT": 443,  //replace to your Orthanc's port.
            "WADO-PORT": 443,  //replace to your Orthanc's port.