• Resolved predent

    (@predent)


    Hello,

    I have installed your plugin. It does not load images from my Google Drive. In the testing page that I sent you I have the panoramic image in an image block and the same image in your plugin shortcode. Just to test the link if it is working. The image does not appear in your plugin. I also tested the image by uploading to the media library. It worked!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter predent

    (@predent)

    There is an issue with cors – there is an issue with you src-loader utility line 120.

    Plugin Author Andrey Mikhalchuk

    (@mikhalchuk)

    Hello predent,

    Yes, you correctly identified the problem, the issue is with the CORS settings of Google Drive. Google Drive doesn’t allow using images stored on GD to be used like this. The easiest way to fix the problem is to upload the image to your WordPress media library and use it from there. Alternatively, you can host it on some other server where you control CORS policies and set the CORS polity to allow embedding the image on your WordPress site. You can find more information about CORS on the plugin documentation page: https://andrey.mikhalchuk.com/360-view-wordpress-plugin

    BTW, your image URL ends with &export=download, so you’re trying to embed not the image itself, but rather it’s downloadable export. I’d recommend removing that part of the URL. This will make your page with to load faster, through it won’t solve the issue with CORS config, only Google can do it and they won’t for security reasons: https://stackoverflow.com/questions/24026016/google-drive-cors

    Regards,
    Andrey

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Google Drive Links not working’ is closed to new replies.