{"id":39623,"date":"2015-10-21T21:51:36","date_gmt":"2015-10-21T21:51:36","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/dicom-support\/"},"modified":"2025-03-17T18:17:31","modified_gmt":"2025-03-17T18:17:31","slug":"dicom-support","status":"publish","type":"plugin","link":"https:\/\/dv.wordpress.org\/plugins\/dicom-support\/","author":14622139,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.10.7","stable_tag":"0.10.7","tested":"6.5.8","requires":"4.5","requires_php":"","requires_plugins":null,"header_name":"DICOM Support","header_author":"ivmartel","header_description":"","assets_banners_color":"","last_updated":"2025-03-17 18:17:31","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/github.com\/ivmartel","rating":5,"author_block_rating":0,"active_installs":90,"downloads":6584,"num_ratings":5,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.1.0":{"tag":"0.1.0","author":"ivmartel","date":"2015-10-21 21:57:23"},"0.1.1":{"tag":"0.1.1","author":"ivmartel","date":"2015-10-21 23:10:16"},"0.10.0":{"tag":"0.10.0","author":"ivmartel","date":"2024-03-22 14:20:08"},"0.10.1":{"tag":"0.10.1","author":"ivmartel","date":"2024-03-22 18:24:25"},"0.10.2":{"tag":"0.10.2","author":"ivmartel","date":"2024-03-22 18:47:09"},"0.10.3":{"tag":"0.10.3","author":"ivmartel","date":"2024-04-17 17:18:21"},"0.10.4":{"tag":"0.10.4","author":"ivmartel","date":"2024-04-17 18:03:59"},"0.10.5":{"tag":"0.10.5","author":"ivmartel","date":"2024-04-17 19:29:49"},"0.10.6":{"tag":"0.10.6","author":"ivmartel","date":"2024-04-19 13:49:21"},"0.10.7":{"tag":"0.10.7","author":"ivmartel","date":"2025-03-17 18:17:31"},"0.2.0":{"tag":"0.2.0","author":"ivmartel","date":"2015-11-11 22:28:28"},"0.3.0":{"tag":"0.3.0","author":"ivmartel","date":"2015-11-12 22:58:05"},"0.4.0":{"tag":"0.4.0","author":"ivmartel","date":"2016-08-23 21:38:25"},"0.4.1":{"tag":"0.4.1","author":"ivmartel","date":"2016-08-25 22:41:24"},"0.5.0":{"tag":"0.5.0","author":"ivmartel","date":"2017-01-24 22:07:09"},"0.5.1":{"tag":"0.5.1","author":"ivmartel","date":"2017-02-14 00:53:40"},"0.5.2":{"tag":"0.5.2","author":"ivmartel","date":"2017-03-29 21:08:05"},"0.6.0":{"tag":"0.6.0","author":"ivmartel","date":"2017-12-04 23:40:21"},"0.6.1":{"tag":"0.6.1","author":"ivmartel","date":"2017-12-19 22:59:43"},"0.7.0":{"tag":"0.7.0","author":"ivmartel","date":"2018-10-15 22:48:34"},"0.7.1":{"tag":"0.7.1","author":"ivmartel","date":"2018-10-29 22:34:55"},"0.7.2":{"tag":"0.7.2","author":"ivmartel","date":"2018-11-16 21:35:43"},"0.8.0":{"tag":"0.8.0","author":"ivmartel","date":"2023-02-10 18:33:14"},"0.8.1":{"tag":"0.8.1","author":"ivmartel","date":"2023-02-10 18:46:58"},"0.8.2":{"tag":"0.8.2","author":"ivmartel","date":"2023-02-11 17:57:14"},"0.9.0":{"tag":"0.9.0","author":"ivmartel","date":"2023-02-17 13:59:50"}},"upgrade_notice":{"":"<p>No upgrades yet...<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":5},"assets_icons":[],"assets_banners":[],"assets_blueprints":{"blueprint.json":{"filename":"blueprint.json","revision":3257323,"resolution":false,"location":"assets","locale":"","contents":"{\"landingPage\":\"\\\/wp-admin\\\/plugins.php\",\"preferredVersions\":{\"php\":\"8.0\",\"wp\":\"latest\"},\"phpExtensionBundles\":[\"kitchen-sink\"],\"features\":{\"networking\":true},\"steps\":[{\"step\":\"installPlugin\",\"pluginZipFile\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"dicom-support\"},\"options\":{\"activate\":true}},{\"step\":\"login\",\"username\":\"admin\",\"password\":\"password\"}]}"}},"all_blocks":{"dicomsupport\/dcm":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":2,"name":"dicomsupport\/dcm","version":"0.1.0","title":"Dicom","category":"media","icon":"category","description":"Insert one or more DICOM images from the media library.","attributes":{"ids":{"type":"array"},"height":{"type":"number"},"width":{"type":"number"},"window_center":{"type":"number"},"window_width":{"type":"number"}},"supports":{"html":false},"textdomain":"dicomsupport","editorScript":"file:.\/index.js"}},"tagged_versions":["0.1.0","0.1.1","0.10.0","0.10.1","0.10.2","0.10.3","0.10.4","0.10.5","0.10.6","0.10.7","0.2.0","0.3.0","0.4.0","0.4.1","0.5.0","0.5.1","0.5.2","0.6.0","0.6.1","0.7.0","0.7.1","0.7.2","0.8.0","0.8.1","0.8.2","0.9.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[23577,203,229],"plugin_category":[59],"plugin_contributors":[94265],"plugin_business_model":[],"class_list":["post-39623","plugin","type-plugin","status-publish","hentry","plugin_tags-dicom","plugin_tags-html5","plugin_tags-javascript","plugin_category-utilities-and-tools","plugin_contributors-ivmartel","plugin_committers-ivmartel"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/dicom-support.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>The DICOM Support plugin adds the following functionalities to Wordpress:<\/p>\n\n<ul>\n<li>allows to upload DICOM (*.dcm) files in the media library,<\/li>\n<li>adds a 'Dicom' block (wordpress 5 or above) that allows to select files from the media library (creates a 'dcm' shortcode)<\/li>\n<\/ul>\n\n<p>For wordpress previous to version 5:\n* allows to insert DICOM individual files to a blog post from the media library (by creating a 'dcm' shortcode)\n* allows to insert DICOM galleries to a blog post from the media library (by overwritting the 'gallery' shortcode)<\/p>\n\n<p>The display is done using the open source DICOM Web Viewer (<a href=\"https:\/\/github.com\/ivmartel\/dwv\">DWV<\/a>).<\/p>\n\n<p>See it live at: <a href=\"https:\/\/tyarcaouen.synology.me\/wordpress\/dwvblog\">dwvblog<\/a>.<\/p>\n\n<p>More details on how to add DICOM file(s) to your post can be found in the FAQ.<\/p>\n\n<!--section=installation-->\n<p>Upload the DICOM support plugin from the WordPress plugin directory to your blog and Activate it!<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='dicom%3F'><h3>DICOM?<\/h3><\/dt>\n<dd><p>DICOM is the standard medical image format, see <a href=\"https:\/\/en.wikipedia.org\/wiki\/DICOM\">DICOM<\/a> on wikipedia or at <a href=\"http:\/\/dicom.nema.org\/\">NEMA<\/a>.<\/p><\/dd>\n<dt id='add%20a%20dicom%20block%20%28wordpress%20%3E%3D%20version%205%29'><h3>Add a Dicom block (wordpress &gt;= version 5)<\/h3><\/dt>\n<dd><p>Here are the steps needed to add a 'Dicom' block:<\/p>\n\n<ol>\n<li>In the post editor, find and add a 'Dicom' block,<\/li>\n<li>Click the <code>Media Library<\/code> button,<\/li>\n<li>Upload files on the <code>Upload Files<\/code> tab or choose some from the <code>Media Library<\/code> tab,<\/li>\n<li>Click 'Select',<\/li>\n<li>This brings you back to the editor and adds the dcm shortcode to the post,<\/li>\n<li>Click the <code>Preview<\/code> button to see it in action!<\/li>\n<\/ol>\n\n<p>You can click back on the generated shortcode to make the 'Dicom' block reappear and modify your selection.<\/p><\/dd>\n<dt id='add%20an%20individual%20file%20%28wordpress%20%3C%20version%205%29'><h3>Add an individual file (wordpress &lt; version 5)<\/h3><\/dt>\n<dd><p>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.\nThey are:<\/p>\n\n<ol>\n<li>In the post editor, click the <code>Add Media<\/code> button,<\/li>\n<li>On the <code>Insert Media<\/code> page, choose the <code>Upload Files<\/code> tab,<\/li>\n<li>Upload DICOM data,<\/li>\n<li>It should be selected in the <code>Media Library<\/code> tab,<\/li>\n<li>Click the <code>Insert into post<\/code> button,<\/li>\n<li>This brings you back to the editor and adds the dcm shortcode to the post,<\/li>\n<li>Click the <code>Preview Changes<\/code> button to see it in action!<\/li>\n<\/ol><\/dd>\n<dt id='add%20a%20gallery%20%28wordpress%20%3C%20version%205%29'><h3>Add a gallery (wordpress &lt; version 5)<\/h3><\/dt>\n<dd><p>The gallery allows to load more than one slice and activates the scroll button.\nThe steps to add DICOM files to a gallery are similar than for images. They are:<\/p>\n\n<ol>\n<li>In the post editor, click the <code>Add Media<\/code> button,<\/li>\n<li>On the <code>Create Gallery<\/code> page, choose the <code>Upload Files<\/code> tab,<\/li>\n<li>Upload DICOM data,<\/li>\n<li>It should be selected in the <code>Media Library<\/code> tab,<\/li>\n<li><strong>Note<\/strong>: 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,<\/li>\n<li>Click the <code>Create a new gallery<\/code> button,<\/li>\n<li>No need to change the DICOM files order in the <code>Edit Gallery<\/code> page, it will be set by the viewer; what you can do is choose the size in the <code>Settings<\/code> column,<\/li>\n<li>Click the <code>Insert gallery<\/code> button,<\/li>\n<li>This brings you back to the editor and adds the gallery shortcode to the post,<\/li>\n<li>Click the <code>Preview Changes<\/code> button to see it in action!<\/li>\n<\/ol><\/dd>\n<dt id='error%20loading%20data'><h3>Error loading data<\/h3><\/dt>\n<dd><p>DWV supports most of the DICOM standard but it can sometimes fail to load data. Please refer to the\n<a href=\"https:\/\/ivmartel.github.io\/dwv\/doc\/stable\/tutorial-conformance.html\">conformance<\/a> page on its doc to see what it supports.\nYou can test your data on the latest live version of DWV on its <a href=\"https:\/\/ivmartel.github.io\/dwv\/demo\/stable\/viewer.html\">demo<\/a> page.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.10.7<\/h4>\n\n<ul>\n<li>Fix security issue<\/li>\n<\/ul>\n\n<h4>0.10.6<\/h4>\n\n<ul>\n<li>Fix full screen<\/li>\n<li>Remove layerGroup background colour<\/li>\n<\/ul>\n\n<h4>0.10.5<\/h4>\n\n<ul>\n<li>Fix super small display div<\/li>\n<\/ul>\n\n<h4>0.10.4<\/h4>\n\n<ul>\n<li>Fix dwv build<\/li>\n<\/ul>\n\n<h4>0.10.3<\/h4>\n\n<ul>\n<li>Fix Image does not completely fill div<\/li>\n<\/ul>\n\n<h4>0.10.2<\/h4>\n\n<ul>\n<li>Really fix compressed data load...<\/li>\n<\/ul>\n\n<h4>0.10.1<\/h4>\n\n<ul>\n<li>Fix compressed data load<\/li>\n<\/ul>\n\n<h4>0.10.0<\/h4>\n\n<ul>\n<li>Update gui to look more like https:\/\/github.com\/ivmartel\/dwv-simplistic\n\n<ul>\n<li>new toolbar with icons<\/li>\n<li>add toggle orientation<\/li>\n<li>add ruler<\/li>\n<li>add progress bar<\/li>\n<\/ul><\/li>\n<li>Updated dwv to v0.32<\/li>\n<\/ul>\n\n<h4>0.9.0<\/h4>\n\n<ul>\n<li>Add the 'Dicom' block<\/li>\n<li>Fix block theme support<\/li>\n<li>Add support for 'ids' in the dcm shortcode<\/li>\n<\/ul>\n\n<h4>0.8.2<\/h4>\n\n<ul>\n<li>Updated dwv to v0.26.2:\n\n<ul>\n<li>fix scroll<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<h4>0.8.1<\/h4>\n\n<ul>\n<li>Updated dwv to v0.26.1:\n\n<ul>\n<li>slow down scroll on trackpad<\/li>\n<li>add shift to scroll shortcuts<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<h4>0.8.0<\/h4>\n\n<ul>\n<li>Updated dwv to v0.26.0:\n\n<ul>\n<li>support for RLE compressed files<\/li>\n<li>support for non standard files<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<h4>0.7.2<\/h4>\n\n<ul>\n<li>Sync select with the current tool.<\/li>\n<\/ul>\n\n<h4>0.7.1<\/h4>\n\n<ul>\n<li>Revert tool order to the one of the previous (v0.6) version.<\/li>\n<\/ul>\n\n<h4>0.7.0<\/h4>\n\n<ul>\n<li>Updated dwv to v0.25.2:\n\n<ul>\n<li>support for DICOMDIR files (*.dcmdir)<\/li>\n<li>no more modernizr dependency<\/li>\n<\/ul><\/li>\n<li>Real full screen (not opening the data in the simplistic viewer)<\/li>\n<li>Allow for setting a special window\/level preset in shortcode or gallery<\/li>\n<\/ul>\n\n<h4>0.6.1<\/h4>\n\n<ul>\n<li>Updated dwv to v0.22.1: fix MONOCHROME1 display<\/li>\n<li>Use a modernizr.js that include the 'mq' tests to allow\ncompatibility with other theme\/plugin<\/li>\n<\/ul>\n\n<h4>0.6.0<\/h4>\n\n<ul>\n<li>Updated dwv to v0.22.0:\n\n<ul>\n<li>more locales<\/li>\n<li>updated decoders<\/li>\n<li>improved DICOM parsing<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<h4>0.5.2<\/h4>\n\n<ul>\n<li>Updated dwv to v0.18.0:\n\n<ul>\n<li>better slice sorting,<\/li>\n<li>allow for per slice window\/level.<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<h4>0.5.1<\/h4>\n\n<ul>\n<li>Better js script insertion using wp_register_script and wp_add_inline_script.<\/li>\n<\/ul>\n\n<h4>0.5.0<\/h4>\n\n<ul>\n<li>Updated dwv to v0.17.0:\n\n<ul>\n<li>fix Internet Explorer support,<\/li>\n<li>added double click slice\/frame play.<\/li>\n<\/ul><\/li>\n<li>Added Full screen link (and supporting pages).<\/li>\n<\/ul>\n\n<h4>0.4.1<\/h4>\n\n<ul>\n<li>Add support for personnalised wordpress installation folder.<\/li>\n<li>Avoid race condition between listeners.<\/li>\n<\/ul>\n\n<h4>0.4<\/h4>\n\n<ul>\n<li>Updated dwv to v0.16.0:\n\n<ul>\n<li>better DICOM parsing,<\/li>\n<li>support for non encoded multi-frame data,<\/li>\n<li>internationalsation.<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>Added data decoders to support JPEG, JPEG LossLess and JPEG 2000.<\/li>\n<li>Updated doc.<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Added default values for width\/height in dcm shortcode.<\/li>\n<li>Using uniqid instead of a hash of the input files.<\/li>\n<\/ul>\n\n<h4>0.1.1<\/h4>\n\n<p>Updated readme file.<\/p>\n\n<h4>0.1.0<\/h4>\n\n<p>Initial version.<\/p>","raw_excerpt":"Adds DICOM (standard for medical image format) support to Wordpress!","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/39623","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=39623"}],"author":[{"embeddable":true,"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ivmartel"}],"wp:attachment":[{"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=39623"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=39623"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=39623"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=39623"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=39623"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=39623"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}