Title: DICOM Support
Author: ivmartel
Published: <strong>ඔක්තෝබර් 21, 2015</strong>
Last modified: මාර්තු 17, 2025

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/dicom-support.svg)

# DICOM Support

 By [ivmartel](https://profiles.wordpress.org/ivmartel/)

[Download](https://downloads.wordpress.org/plugin/dicom-support.0.10.7.zip)

[Live Preview](https://si.wordpress.org/plugins/dicom-support/?preview=1)

 * [Details](https://si.wordpress.org/plugins/dicom-support/#description)
 * [Reviews](https://si.wordpress.org/plugins/dicom-support/#reviews)
 *  [Installation](https://si.wordpress.org/plugins/dicom-support/#installation)
 * [Development](https://si.wordpress.org/plugins/dicom-support/#developers)

 [Support](https://wordpress.org/support/plugin/dicom-support/)

## Description

The DICOM Support plugin adds the following functionalities to WordPress:

 * allows to upload DICOM (*.dcm) files in the media library,
 * adds a ‘Dicom’ block (wordpress 5 or above) that allows to select files from 
   the media library (creates a ‘dcm’ shortcode)

For wordpress previous to version 5:
 * allows to insert DICOM individual files 
to a blog post from the media library (by creating a ‘dcm’ shortcode) * allows to
insert DICOM galleries to a blog post from the media library (by overwritting the‘
gallery’ shortcode)

The display is done using the open source DICOM Web Viewer ([DWV](https://github.com/ivmartel/dwv)).

See it live at: [dwvblog](https://tyarcaouen.synology.me/wordpress/dwvblog).

More details on how to add DICOM file(s) to your post can be found in the FAQ.

## Blocks

This plugin provides 1 block.

 *   Dicom Insert one or more DICOM images from the media library.

## Installation

Upload the DICOM support plugin from the WordPress plugin directory to your blog
and Activate it!

## FAQ

### DICOM?

DICOM is the standard medical image format, see [DICOM](https://en.wikipedia.org/wiki/DICOM)
on wikipedia or at [NEMA](http://dicom.nema.org/).

### Add a Dicom block (wordpress >= version 5)

Here are the steps needed to add a ‘Dicom’ block:

 1. In the post editor, find and add a ‘Dicom’ block,
 2. Click the `Media Library` button,
 3. Upload files on the `Upload Files` tab or choose some from the `Media Library` 
    tab,
 4. Click ‘Select’,
 5. This brings you back to the editor and adds the dcm shortcode to the post,
 6. Click the `Preview` button to see it in action!

You can click back on the generated shortcode to make the ‘Dicom’ block reappear
and modify your selection.

### Add an individual file (wordpress < version 5)

The steps to add a DICOM file to a post are similar than adding an image except 
you do not have a preview in the editor.
 They are:

 1. In the post editor, click the `Add Media` button,
 2. On the `Insert Media` page, choose the `Upload Files` tab,
 3. Upload DICOM data,
 4. It should be selected in the `Media Library` tab,
 5. Click the `Insert into post` button,
 6. This brings you back to the editor and adds the dcm shortcode to the post,
 7. Click the `Preview Changes` button to see it in action!

### Add a gallery (wordpress < version 5)

The gallery allows to load more than one slice and activates the scroll button.

The steps to add DICOM files to a gallery are similar than for images. They are:

 1.  In the post editor, click the `Add Media` button,
 2.  On the `Create Gallery` page, choose the `Upload Files` tab,
 3.  Upload DICOM data,
 4.  It should be selected in the `Media Library` tab,
 5.  **Note**: DICOM data may not show in the media list, in that case, choose the 
     DICOM option in the first drop down on the search line,
 6.  Click the `Create a new gallery` button,
 7.  No need to change the DICOM files order in the `Edit Gallery` page, it will be
     set by the viewer; what you can do is choose the size in the `Settings` column,
 8.  Click the `Insert gallery` button,
 9.  This brings you back to the editor and adds the gallery shortcode to the post,
 10. Click the `Preview Changes` button to see it in action!

### Error loading data

DWV supports most of the DICOM standard but it can sometimes fail to load data. 
Please refer to the
 [conformance](https://ivmartel.github.io/dwv/doc/stable/tutorial-conformance.html)
page on its doc to see what it supports. You can test your data on the latest live
version of DWV on its [demo](https://ivmartel.github.io/dwv/demo/stable/viewer.html)
page.

## Reviews

![](https://secure.gravatar.com/avatar/c560ddeb3220e122b6955b236530d00b814c07483cd128ce7d82956a9ec9362c?
s=60&d=retro&r=g)

### 󠀁[RangeError: invalid typed array length 262144](https://wordpress.org/support/topic/rangeerror-invalid-typed-array-length-262144/)󠁿

 [jethwebs](https://profiles.wordpress.org/jethwebs/) ජූනි 3, 2022

Hello, I have this error when I open the viewer on my cell RangeError: invalid typed
array length 262144 Is there any way to solve it?

![](https://secure.gravatar.com/avatar/ca509cc45970728ba533e918dc74cb22a8b3c527e6302313d5dc1461d25feb5a?
s=60&d=retro&r=g)

### 󠀁[Awesome](https://wordpress.org/support/topic/awesome-7852/)󠁿

 [Rene Maurer](https://profiles.wordpress.org/renemaurer/) ජූනි 19, 2020

The plugin works perfectly, many thanks to the developer.

![](https://secure.gravatar.com/avatar/47ff51d953f0620d1066d764f5330a4a5a115917651cd2507f193ec8fc78e8ea?
s=60&d=retro&r=g)

### 󠀁[Can´t load images on WP](https://wordpress.org/support/topic/cant-load-images-on-wp/)󠁿

 [luismurillo](https://profiles.wordpress.org/luismurillo/) මාර්තු 26, 2019 7 replies

Hi, I have installed Wordpress 5.1.1 and DICOM Support 0.7.2. When I upload the .
dcm file, the file cant be uploaded, and the post cant show the image. Some help?
Thank you

![](https://secure.gravatar.com/avatar/be8be3609c18c134a933a96576105360ff12911621667df4749de1840947c86f?
s=60&d=retro&r=g)

### 󠀁[Fantastic. Easy to use](https://wordpress.org/support/topic/fantastic-easy-to-use-2/)󠁿

 [fsjones](https://profiles.wordpress.org/fsjones/) ජනවාරි 20, 2017

Excellent plugin.

![](https://secure.gravatar.com/avatar/117b0cb43971d49557796cefd4fbafe891fd75805b8ee44ee217576a7de9a951?
s=60&d=retro&r=g)

### 󠀁[Excelent plugin!](https://wordpress.org/support/topic/excelent-plugin-98/)󠁿

 [v-net](https://profiles.wordpress.org/vrub/) සැප්තැම්බර් 3, 2016

Excelent plugin! congratulations ivmartel! This new version (0.3) is working perfectly!
Thank you.

 [ Read all 5 reviews ](https://wordpress.org/support/plugin/dicom-support/reviews/)

## Contributors & Developers

“DICOM Support” is open source software. The following people have contributed to
this plugin.

Contributors

 *   [ ivmartel ](https://profiles.wordpress.org/ivmartel/)

[Translate “DICOM Support” into your language.](https://translate.wordpress.org/projects/wp-plugins/dicom-support)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/dicom-support/), check
out the [SVN repository](https://plugins.svn.wordpress.org/dicom-support/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/dicom-support/) 
by [RSS](https://plugins.trac.wordpress.org/log/dicom-support/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.10.7

 * Fix security issue

#### 0.10.6

 * Fix full screen
 * Remove layerGroup background colour

#### 0.10.5

 * Fix super small display div

#### 0.10.4

 * Fix dwv build

#### 0.10.3

 * Fix Image does not completely fill div

#### 0.10.2

 * Really fix compressed data load…

#### 0.10.1

 * Fix compressed data load

#### 0.10.0

 * Update gui to look more like https://github.com/ivmartel/dwv-simplistic
    - new toolbar with icons
    - add toggle orientation
    - add ruler
    - add progress bar
 * Updated dwv to v0.32

#### 0.9.0

 * Add the ‘Dicom’ block
 * Fix block theme support
 * Add support for ‘ids’ in the dcm shortcode

#### 0.8.2

 * Updated dwv to v0.26.2:
    - fix scroll

#### 0.8.1

 * Updated dwv to v0.26.1:
    - slow down scroll on trackpad
    - add shift to scroll shortcuts

#### 0.8.0

 * Updated dwv to v0.26.0:
    - support for RLE compressed files
    - support for non standard files

#### 0.7.2

 * Sync select with the current tool.

#### 0.7.1

 * Revert tool order to the one of the previous (v0.6) version.

#### 0.7.0

 * Updated dwv to v0.25.2:
    - support for DICOMDIR files (*.dcmdir)
    - no more modernizr dependency
 * Real full screen (not opening the data in the simplistic viewer)
 * Allow for setting a special window/level preset in shortcode or gallery

#### 0.6.1

 * Updated dwv to v0.22.1: fix MONOCHROME1 display
 * Use a modernizr.js that include the ‘mq’ tests to allow
    compatibility with other
   theme/plugin

#### 0.6.0

 * Updated dwv to v0.22.0:
    - more locales
    - updated decoders
    - improved DICOM parsing

#### 0.5.2

 * Updated dwv to v0.18.0:
    - better slice sorting,
    - allow for per slice window/level.

#### 0.5.1

 * Better js script insertion using wp_register_script and wp_add_inline_script.

#### 0.5.0

 * Updated dwv to v0.17.0:
    - fix Internet Explorer support,
    - added double click slice/frame play.
 * Added Full screen link (and supporting pages).

#### 0.4.1

 * Add support for personnalised wordpress installation folder.
 * Avoid race condition between listeners.

#### 0.4

 * Updated dwv to v0.16.0:
    - better DICOM parsing,
    - support for non encoded multi-frame data,
    - internationalsation.

#### 0.3

 * Added data decoders to support JPEG, JPEG LossLess and JPEG 2000.
 * Updated doc.

#### 0.2

 * Added default values for width/height in dcm shortcode.
 * Using uniqid instead of a hash of the input files.

#### 0.1.1

Updated readme file.

#### 0.1.0

Initial version.

## Meta

 *  Version **0.10.7**
 *  Last updated **1 වසරක් ago**
 *  Active installations **90+**
 *  WordPress version ** 4.5 or higher **
 *  Tested up to **6.5.8**
 *  Language
 * [English (US)](https://wordpress.org/plugins/dicom-support/)
 * Tags
 * [dicom](https://si.wordpress.org/plugins/tags/dicom/)[HTML5](https://si.wordpress.org/plugins/tags/html5/)
   [javascript](https://si.wordpress.org/plugins/tags/javascript/)
 *  [Advanced View](https://si.wordpress.org/plugins/dicom-support/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  5 5-star reviews     ](https://wordpress.org/support/plugin/dicom-support/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/dicom-support/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/dicom-support/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/dicom-support/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/dicom-support/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/dicom-support/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/dicom-support/reviews/)

## Contributors

 *   [ ivmartel ](https://profiles.wordpress.org/ivmartel/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/dicom-support/)