Skip to content

Revert to the Legacy DICOM/NIfTI Viewer

Introduction

Two versions of the OHIF viewer are included on each Flywheel site: the current version (written in React) and the legacy version (written in Meteor).

By default, all DICOM and NIfTI files will load in the current version when you click view.

If you are having trouble viewing your images in the current viewer, one workaround is to revert back to the legacy viewer.

This article explains how site admins can make the legacy viewer the default.

Instruction Steps

This article applies to Flywheel instances using V3 infrastructure — the platform your site is deployed on, which is unrelated to the V2 and V3 viewers. See if your site is using V3. To override the default viewer behavior you must re-register the legacy OHIF viewer as a custom application.

  1. Sign in to Flywheel as a site admin.
  2. Select Applications from the left-navigation menu.

Applications dashboard listing custom applications above system applications like OHIF Viewer The Applications dashboard lists all applications registered at your site:

  • Custom applications appear in the top section and can be edited
  • System applications appear in the bottom section and cannot be edited

  • Click Register New Application in the upper right corner.

  • Enter the following in the application registration form:

    • Type: Viewer
    • Name: Legacy OHIF Viewer
    • URL: internal:ohif_meteor
    • Match Container or File Types: dicom nifti (select the autofill suggestion to ensure the file types appear in pill form as shown below)

      Register Application dialog with dicom and nifti entered as pill-shaped file type tags

  • Click Register. A success message appears, and your newly registered application is listed in the top section.

Applications dashboard with the newly registered Legacy OHIF Viewer highlighted in the custom section 4. Test that the default has been changed by navigating to a project and clicking the view icon Image view icon. 5. The image should load in the Legacy OHIF Viewer as shown below.

Tip

To verify you are using the legacy version, make sure the toolbar of the viewer looks like this image. Legacy OHIF viewer toolbar with Series, Zoom, Levels, Pan, and other tool icons 6. To use the latest version of the OHIF viewer by default, delete this custom OHIF Legacy Viewer application.