• Resolved Roman Matovsky

    (@fireroman)


    It’s a great plugin. But I have a question about background images.
    I use Jetpack for service all my images from their servers. All of them looks like

    https://i0.wp.com/my-domain.com/wp-content/uploads/2019/02/img_5477-1.jpg

    But only background images still on my server

    <div class="header-filter" style="background-image: url(https://my-domain.com/wp-content/uploads/2019/02/img_5477-1.jpg);">

    Can you fix it please?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor James Huff

    (@macmanx)

    Our image CDN can only server images that are present in the post content.

    Background images, or image resources loaded by themes or plugins, are not served by our CDN at this time without direct modification.

    If you are developing this theme yourself, you can use the Photon API to transform images using GET query arguments following the Photon API examples and documentation here: https://developer.wordpress.com/docs/photon/api/

    Thread Starter Roman Matovsky

    (@fireroman)

    Thank you James. It’s not my theme. Do you think will be better to ask developer to fix it?

    Plugin Contributor James Huff

    (@macmanx)

    Yes, I recommend directing them to https://developer.wordpress.com/docs/photon/api/ so that they can fully integrate support for our image CDN throughout the theme.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Background-image and your servers’ is closed to new replies.