This example illustrates how to use the cornerstoneWADOImageLoader to get a DICOM P10
SOP instance using HTTP and display it in your web browser using cornerstone.
Not all transfer syntaxes are currently supported,
click here for the full list.
For WADO-URI requests,
you can request that the server return the SOP Instance in explicit little endian by
appending the following query string to your URL:
&transferSyntax=1.2.840.10008.1.2.1
Use the query string parameter frame to specify which frame to display from a multiframe
object (defaults to the first frame if not specified). ?frame=2
If you get an HTTP error and your URL is correct, it is probably because the server is not configured to
allow Cross Origin Requests.
Most browsers will allow you to enable cross domain requests via settings or command line switches,
you can start chrome with the command line switch --disable-web-security
to allow cross origin requests.
See the Enable CORS site for information about CORS.
Looking for a CORS proxy? Try CORSProxy
Use of this example require IE10+ or any other modern browser.