• Hey,

    Awesome plugin. It “just worked” except for one little thing. I have multiple background images defined in CSS like this:

    background-image: url("images/under-left-leaf.png"), url("images/over-blue-bird.png"), url("images/under-top.png"), url("images/bg-top-grunge.png");

    After this goes through autoptimize it only applies the CDN to the first image, like this ( theme-cdn.dtbaker.net is the CDN address, verge-blog-demo.themes.dtbaker.net is the hostname )

    background-image:url(https://theme-cdn.dtbaker.net/wp-content/themes/verge-blog/images/under-left-leaf.png),url(//verge-blog-demo.themes.dtbaker.net/wp-content/themes/verge-blog/images/over-blue-bird.png),url(//verge-blog-demo.themes.dtbaker.net/wp-content/themes/verge-blog/images/under-top.png),url(//verge-blog-demo.themes.dtbaker.net/wp-content/themes/verge-blog/images/bg-top-grunge.png);

    Do you accept pull requests via github? I could submit a patch if you like.

    Thanks,
    dtbaker

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CDN with multiple background images.’ is closed to new replies.