Closed jagjotwadali closed 6 years ago
The separator between input and state must be an &
and not a ?
. And better encode the query string to avoid confusion of characters. Something like:
var dicom = "http://localhost:62919/images/417.dcm";
var state = "http://localhost:62919/images/417.json";
var url = "viewers/mobile/index.html" +
"?input=" + encodeURIComponent(dicom) +
"&state=" + encodeURIComponent(state);
Thanks @ivmartel .Its Working.
I am getting this error
Cannot read property 'getParent' of undefined
when I am trying to load state.json
file with this URL
http://localhost/MIC/index_dicom.php?input=http://localhost/MIC/mammos/case333/0003.DCM&state=http://localhost/state.json
Could you share the console log to better understand what is going on?
its ok now. I had to use state just after input and it went good
I have a problem loading the state by the URL. this is the path I use
and it gives me the image error, if I load only the DCM files there is no problem. it looks like you are spelling out the state url
Moved to issue #1101 (thanks for creating it @Coebin!)
I had already integrated DWV application into telemedicine application .I want to save the JSON state on the server . I want to show a button on the DICOM viewer where the user can click and save the annotations and can view the annotated image.
I was also reading the document about ?state=[path to state file]) but it was not working .
Any help in this regard.