• Resolved Jessabelle922

    (@woosterfoodtour)


    Awesome plugin, best for Flickr by a long shot. I’m having an issue with displaying the gallery since 5.6 update. The immediate issue was similar to others with the jquery lightbox black overlay on site links, but that was remedied with your plugin updates. Now the issue is that I can’t get the gallery to show up at all (in either SiteOrigin page builder or the simple footer widgets). I’m pretty sure we’ve got API settings set properly (it shows me photos from our Flickr account during the shortcode wizard) they just don’t show on the page… I’ve tried tons of settings in the back end but can’t get anything to show other than the “MORE” button.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Sayontan Sinha

    (@sayontan)

    Do you have a link for me to investigate?

    Thread Starter Jessabelle922

    (@woosterfoodtour)

    Thread Starter Jessabelle922

    (@woosterfoodtour)

    Sorry – I think our site may have been down if you went to check. Please see if you can tell anything now, same link.

    Plugin Author Sayontan Sinha

    (@sayontan)

    You seem to be getting an error with your hosting configuration:

    Access to script at 'https://secureservercdn.net/50.62.198.97/833.353.myftpupload.com/wp-content/plugins/photonic/include/js/front-end/module/solo-slider/photonic-prettyphoto.min.js?ver=20201216-152014&time=1608140617' from origin 'https://cantonfoodtours.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

    Your site’s domain is https://cantonfoodtours.com/, but your files are stored on a different server, https://secureservercdn.net/. In version 2.60 of Photonic there was a change to modernize the JavaScript. This is loaded with a special script tag called module. When you have a JS file loaded as a module it is subjected to CORS (Cross-Origin-Resource-Sharing) restrictions.

    There are multiple things that can be done to resolve this, and I would recommend them in this order:

    1. Configure your site / host to avoid pulling the Photonic JS files from the CDN. If the file is pulled from your own site, this error goes away.
    2. If the above is not possible, you will have to talk your hosts or their CDN folks to add Access-control-allow-origin: * to the response headers.
    3. If none of the above is possible, then there is an option in Photonic itself – Photonic → Settings → Generic Options → Advanced → JavaScript Version. Pick the option that says “Include only transpiled code”.
    Thread Starter Jessabelle922

    (@woosterfoodtour)

    Thanks for the thorough recommendation. I disabled the CDN entirely and activated the setting in #3 too. Still no dice. Maybe I misinterpreted your recommendation…

    Plugin Author Sayontan Sinha

    (@sayontan)

    OK… your error has now changed, and you are no longer getting the error that you were previously.

    Right now I think you have checked this option: Photonic → Settings → Generic Options → Generic Settings → Don’t include third-party lightbox scripts. Please uncheck it, since you are inadvertently preventing the PrettyPhoto script itself from loading.

    If your site works once this is done, I would suggest setting #3 above back to “Include transpiled and modern code”.

    Thread Starter Jessabelle922

    (@woosterfoodtour)

    Awesome! That did the trick. Thanks for your help ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Images Missing’ is closed to new replies.