How to add the upload function to local projects, and enable uploading DICOM files to be viewed in the local editor

Is it to replace the data source or how to operate it? It depends on whether you have already implemented this function and how to release it

Unfortunately, I do not quite understand your question. Are you perhaps trying to view a DICOM study that exists on your local file system? If so use OHIF Viewer. If not, please try clarifying. Thanks.

What I need for the OHIF Viewer is support for local projects as well. Click on the pop-up window for local projects and select DICOM files

Unless I am still not understanding, I believe you are looking for local DICOM load. Do the steps below help?

  1. Go to

  1. Click Load Files

  1. Select/highlight the DICOM files and click Open.

  2. The OHIF viewer will show the study selected.

For your particular deployment, you could simply add a button there that navigates to the link I sent earlier.

I am on the internal network and need to add an upload function myself. May I know how to add it

If your OHIF server’s address is https://my.ohif, then use https://my.ohif/local. However, keep in mind this ongoing PR fix(dicomlocal): navigate /local to the work list and /localbasic to the (basic) viewer by jbocce · Pull Request #3389 · OHIF/Viewers · GitHub that will change the behaviour whereby /local will navigate to the worklist page and /localbasic to the viewer itself.

The server address is http://, and you didn’t understand what I meant. It means adding this feature to the local project instead of redirecting to a certain page

Apologies, but I am not sure what you mean by “local project”.

Internal network development

It would help a lot if you can explain what your use case is in more detail since I don’t understand either. For /local the data does not get uploaded to the viewer and stays in the browswer (hence local name), if you want to upload to the server we added this new functionality and you can enable it by adding dicomUploadEnabled: true to your data source config, search for that name in the code base