Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    I’m afraid we haven’t made any progress on this yet. Could you give me a URL of a page where you experience the issue, so I can forward that to our team in charge of Photon?

    Thanks!

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    This issue should now be fixed! Let me know if you still experience issues!

    canferman

    (@canferman)

    same issue

    here is my link: https://giflix.net/world/2016/11/11/sun-movement/

    • This reply was modified 8 years ago by canferman.
    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    @canferman Thanks for the report. I’ll ask our Photon team to take a look and I’ll get back to you.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    @canferman Photon appears to be properly set, and your domain as well. You can check it by running the following command in your terminal:

    $ curl -sI -H 'Origin: https://giflix.net' 'https://i1.wp.com/giflix.net/wp-content/uploads/2016/11/image-145640544412350136841.gif?fit=364%2C364' | grep Access
    
    Access-Control-Allow-Origin: *
    Access-Control-Allow-Methods: GET, HEAD
    

    That indicates that the Access-Control-Allow-Origin header is set. The problem is most likely caused by something else on your site.

    Could you try to switch to another theme, or deactivate all other plugins, one at a time, to make sure that’s not caused by a conflict with your theme or another plugin?

    canferman

    (@canferman)

    There is no relevance to the theme or any other plugins,

    i changed the theme and deactivate all other plugins, but the problem continues…

    simply i just want to show loading proccess time of images and i wrote these lines of codes (php):
    (with progress js)

    
    ....
    var imgSrc =
    imgSrc = $(this).attr('src');
    progressJs("img[src='" + imgSrc + "']").setOptions({
                             overlayMode: true,
                             theme: 'blueOverlayRadiusWithPercentBar'
                              }).start().set(1);
    $progress = document.querySelector('#progress');
    var url = imgSrc;
    var request = new XMLHttpRequest();
    request.onprogress = onProgress;
    request.onComplete = onComplete;
    request.onerror = onError;
    ....
    

    XMLHttpRequest get errors

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    This may help you customize your request to solve this issue:
    https://stackoverflow.com/a/20035319/1045686

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Why photon doesn't allow Cross-Origin’ is closed to new replies.