• Resolved adeemon322

    (@adeemon322)


    I’m using Elementor and Imagify. Got the issue: there’re only original images in CSS backgrounds. Which setting should I use to force use (or smth else) optimized images ?
    Is Imagify able to do it ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter adeemon322

    (@adeemon322)

    Oh, forget the important note. I’m using wordpress.com and I can’t edit config

    Plugin Author WP Media

    (@wp_media)

    Hi @adeemon322 ,

    If you can not edit config files, you would not be able to use rewrite rules method to deliver Next-Gen images, which is the only way to fetch background images.

    The solution would be to add Next-Gen version directly as the background image. If your orginal format image URL is:

    https://yoursite.com/wp-content/uploads/2024/07/image.jpg

    The WebP version would be:

    https://yoursite.com/wp-content/uploads/2024/07/image.jpg.webp

    This should be ok as WebP is supported by all modern browsers.

    Best Regards
    Marko

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Am I able to use optimized img as background ?’ is closed to new replies.