• Resolved jwchong

    (@jwchong)


    May I know if The7 theme https://the7.io is compatible with ShortPixel Image Optimizer?

    I have tried ShortPixel with AVIF option. AVIF files generate successfully. However, only 1 AVIF image is loaded in home page (art-top-cropp-scaled.jpg [in AVIF format] background used in the homepage). All other images are loaded in JPEG format.

    https://shortpixel.com/knowledge-base/article/165-webp-and-cloudflare

    I am using Cloudflare free plan, so I only can use <PICTURE> tag syntax method. .htaccess method does not work for websites with Cloudflare’s free plan.

    According to https://shortpixel.com/knowledge-base/article/49-generate-webp-mark-up-option-doesnt-work there are a few possible explanations for why this delivery method does not work.

    • The images are served via JavaScript mechanisms.
    • You have used a page builder for page creation. Our feature may not work well with pages created with some of these tools.
    • The images are background images. If your images are loaded via CSS with the background-image property, ShortPixel Image Optimizer cannot serve them as WebP or AVIF using this method.
    • The lazy-loading solution you are using conflicts with SPIO. Try disabling all lazy loading features on your website to see if this fixes the problem. If it does, we recommend that you use a different lazy-loading solution.

    Since The7 theme is the 2nd most sold WordPress theme in themeforest.net, I wonder if anyone here who use this theme can load most of the JPEG in AVIF format successfully?

    Thank you. 

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Gerard Blanco

    (@sixaxis)

    Hi jwchong,

    Our plugin is compatible with all themes, because the image optimization is independent of the theme. However, as you read, the AVIF delivery feature may not work depending on several reasons that are out of our control. In this case, I recommend you trying a different delivery method:

    That above is true assuming that all your files and thumbnails are getting their AVIF counterparts generated. However, sometimes the problem is that AVIF is not being created at all. In this case, here’s the explanation: Why is my image not converted to WebP or AVIF?

    Have a nice Sunday!

    Thread Starter jwchong

    (@jwchong)

    Hi,

    I prefer not to use ShortPixel Adaptive Images.

    If I am correct, usually plugins will automatically display AVIF if available, and display JPEG if AVIF is not available.

    Do you mean if some images are not converted to AVIF (Why is my image not converted to WebP or AVIF?) plugin such as?Cache Enabler?or?WP Rocket will not automatically deliver the JPEG format?

    I am able to use https://imagekit.io to generate and deliver WebP for now, while still trying to fix the ShortPixel Image Optimizer issue in my scenario.

    Thank you.

    Plugin Support Gerard Blanco

    (@sixaxis)

    Hi jwchong,

    If you want to display AVIF but it’s not displayed, that is because:

    • Either the AVIF delivery method is not working properly,
    • or the AVIF file doesn’t exist.

    If the problem is with the delivery method ( meaning that the AVIF file has been created but isn’t being delivered to your users), the only thing you can do is try to use a different delivery method. In your specific case it means that you need to use another plugin or ShortPixel AI.

    On the other hand, if the problem is that the AVIF file doesn’t exist, it’s because the generated AVIF file is larger than the original JPG/PNG, so our plugin simply doesn’t store it on your server to reduce credit consumption and save your bandwidth.

    Hope this helps!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘the7.io theme compatibility’ is closed to new replies.