• Hi,
    I use wp-stateless for storing media in google cloud. All my images stored there. It also automatically store the dcm files uploaded to wp.
    The problem is, when i use local server in shortcode. The dicom viewer run without problem. But when i use google cloud url for dicom file, it give me an error.

    https://www.dropbox.com/s/w2eu35732dzxz2e/screens.jpg?dl=0

    Can you confirm if this working wit GCloud? something about permission maybe different with image file?
    It will be nice if it can play together with G Cloud.
    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author ivmartel

    (@ivmartel)

    I’ve not tried this plugin with GCloud. Could you share the content of the browser console if it gives more details about the error? How do the permissions work with this wp-stateless plugin: do you give it access to your files?

    Thread Starter mvp13585

    (@mvp13585)

    Here the console log :
    https://www.dropbox.com/s/n3ibhumfp3ct03t/Screenshot_11.png?dl=0

    Basically wp-stateless plugin in Gcloud give public permission. It work like the above dropbox link. It create the link and everyone who know the link can access the file. The differences is the DCM file will be downloaded, not previewed in the browser like images.

    Plugin Author ivmartel

    (@ivmartel)

    Your first error is a server error, related to a translation file, not sure why this happens.
    The second one is about Cross-Origin Resource Sharing (CORS). I remember having troubles when developing the Google Drive integration, see https://github.com/ivmartel/dwv-jqmobile/blob/master/src/google.js#L214. Not sure how wp-stateless exposes the data and if it allows for CORS.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Google cloud compatibility’ is closed to new replies.