• Resolved jurez123

    (@jurez123)


    Hi Mateusz,

    First of all, thank you for this brilliant plugin. I’m using it on all of my sites and it definitely helped me tons. Works great with WP Rocket+Cloudflare as well.

    Recently, I’ve switched my preferred host who is using NGINX, so I’m using the Pass Thru method.
    The issue here is, that the images in the webp format are served fine when in HTML (img or picture tags), but not when they are loaded as background images via CSS.

    Do you maybe know a quick fix to this, or know what should I tell the host to change for this feature to work?

    Thank you so much!

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

Viewing 1 replies (of 1 total)
  • Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Hello @jurez123,

    Thanks for your message.

    Pass Thru mode does not offer such possibilities. In this situation, I recommend using the via .htaccess mode. If you are using an Nginx server, see the plugin FAQ for the configuration for the Nginx server. This is the best solution.

    Best,
    Mateusz

Viewing 1 replies (of 1 total)
  • The topic ‘NGINX + Pass Thru = No webp background images’ is closed to new replies.