• Resolved alx359

    (@alx359)


    Hi Gijo,

    Please forgive the dumb title, but really did the leg work first. Still unable to get FI to work with Statically. My site does work with their plugin, though.

    The issue is, all images seem to get partially rewritten by FI, but they won’t get the statically.io prefix:

    https://cdn.statically.io/img/mydomain.com/f=auto%2Cq=70/wp-content/uploads/image-247x296.jpg

    My theme is latest Flatsome, and everything is up-to-date. Have switched Off Flatsome lazy-loading, and switched On yours.

    A sample img url generated by Flatsome (lazy-load off, FI disabled) looks like this:

    <img src="https://mydomain.com/wp-content/uploads/image-510x765.jpg" class="wp-post-image skip-lazy" alt="image" loading="lazy" title="image" data-caption="image" data-src="https://mydomain.com/wp-content/uploads/image.jpg" data-large_image="https://mydomain.com/wp-content/uploads/image.jpg" data-large_image_width="700" data-large_image_height="1050" srcset="https://mydomain.com/wp-content/uploads/image-510x765.jpg 510w, https://mydomain.com/wp-content/uploads/image-200x300.jpg 200w, https://mydomain.com/wp-content/uploads/image-683x1024.jpg 683w, https://mydomain.com/wp-content/uploads/image-333x500.jpg 333w, https://mydomain.com/wp-content/uploads/image.jpg 700w" sizes="(max-width: 510px) 100vw, 510px" width="510" height="765">

    My website is proxied via CloudFlare, and have configured “WP Cloudflare Super Page Cache” by Salvatore Fresta. JS/CSS are getting minified by WP-Optimize. Already tried disabling minification.

    Yes, already searched these support forums before writing this, but only matched to someone being blacklisted by Statically. So I contacted Statically about this issue. However, if their plugin works right after install for me, it seems to point back to FI and something odd with my configuration.

    Not providing an URL, as atm have de-activated FI and using Statically’s own plugin, as it’s a live site, but would really like to get yours working. Please advise what can I do next.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Gijo Varghese

    (@gijo)

    @alx359 Hi,

    I didn’t get what you mean partially written. So some images are delivered from Statically and some are not?

    Thread Starter alx359

    (@alx359)

    EDIT: Sorry, commented too early. Suddenly everything seemed to work because have forgotten to deactivate the Statically plugin first. Shall write back when have finished tests.

    Thread Starter alx359

    (@alx359)

    Okay, think finally found the culprit: WP-Optimize > Minify CSS > Inline CSS option isn’t compatible with FI. Checking that option makes the cdn.statically.io prefix to go away when FI is the one in charge.

    Couldn’t catch it before, as the CFSP Cache plugin isn’t also clearing the minified js/css files of WPO, despite the advertised integration.

    Unfortunately, can’t just exclude the FI script from WPO, as FI seems to inject the script in the page, and WPO offers exclusion only by file and not by ID.

    *

    Other issue I bumped into is neither FI nor Statically seem to recognize images within Quickview (i.e. a popup modal/div that may get opened for each product in a WC gallery). How to properly do a late-binding to flyingImages()? A similar piece of code had worked for me, but it isn’t for FI:

    // quickview (gallery page)
    $(document).on('qv_loader_stop', function() {
    	flyingImages();
    });
    Plugin Author Gijo Varghese

    (@gijo)

    @alx359 I’m closing the issue since there isn’t enough info to debug the issue and reproduce it. As per WordPress support guidelines, a URL should be provided.

    Regarding Minify, contact cache plugin developers to fix it.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Statically won’t work’ is closed to new replies.