Support » Plugin: Image Optimizer, Resizer and CDN - Sirv » Error during ajax request

  • Resolved JapeNZ


    Hi there,
    I’m trying to sync my images but at the 50% mark I’m seeing an ‘Error during ajax request’ notice.
    Any idea what I need to do to fix the issue?

    Also, is there a way to change the colour (or completely hide) the dark grey box that is briefly displayed before images are loaded on the website?
    Ideally I’d change it to white or clear.

    Thank you for your help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter JapeNZ


    Hello again,
    Seems I must have reached the 2000 images per hour max, up and running again now 🙂

    Any suggestions on hiding the grey border would still be very much appreciated though.

    Thanks again!

    Good that the sync resolved! Are you using the latest version of the Sirv plugin? You should see a message if you hit your hourly put (upload) limit.

    Could you send us the URL of the page where you’re seeing a grey border please? That’s not standard behaviour and may be inherited from your CSS. With the page URL, we’ll be able to identify the cause.


    Thread Starter JapeNZ


    Hi @sirv,
    Thank you for getting back to me 🙂

    Yes all images are done now, I didn’t notice the limit message until after I’d sent the question… sorry about that 🙂

    If you go here:
    Marvel Comics

    You should see what I mean, there’s a grey border very briefly prior to the images loading.

    Thank you for your help with this!

    Also, is there a way I can exclude a specific page from using the cdn?
    I only ask as I use a custom Thank You Page plugin (Thank You Page Customizer for WooCommerce) and it calls the thumbnail sized image for product images on the thank you page.
    So rather than ‘image.jpg’ it calls ‘image-150×150.jpg’, which is returning broken images.
    As it’s effecting the thanyou page I would need to able to exclude all pages starting with ‘/checkout/order-received/’.
    Any suggestions would be very much appreciated 🙂

    Kind regards,

    Thread Starter JapeNZ


    Jake at Sirv support managed to fix the grey borders with the following:

    img.Sirv:not([src]) {
        opacity: 0;

    Putting it here in case anyone else has the same issue 🙂

    Have contacted Thank You Page Customizer for WooCommerce regarding the broken images: Possible conflict with Sirv CDN

    Thanks for all your help guys!

    Hey JP, thanks for sharing your updates on this.

    We’re aiming to add a new capability to exclude pages based on a particularity URL pattern. We’ll add a message here if (hopefully “when”) it is released.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error during ajax request’ is closed to new replies.