Title: [Plugin: JS &amp; CSS Script Optimizer] Doesn&#039;t work with css background images
Last modified: August 19, 2016

---

# [Plugin: JS & CSS Script Optimizer] Doesn't work with css background images

 *  [mneil](https://wordpress.org/support/users/mneil/)
 * (@mneil)
 * [15 years ago](https://wordpress.org/support/topic/plugin-js-css-script-optimizer-doesnt-work-with-css-background-images/)
 * I have a main stylesheet like all templates, style.css, and then built separate
   stylesheets for either specific pages or templates and wanted to combine them
   with the optimizer. I’m using my own compression, yui compressor, and when I 
   switched on the merge for css in the plugin I noticed my page laid out fine but
   was missing a lot of images. I tracked it down to the image path since the url
   for the stylesheet is rewritten to the uploads folder background image url’s 
   like images/logo.gif no longer work! I’m using enqueue_style for the main stylesheet,
   the plugin is working fine; it’s just that the background image paths become 
   broken.
 * [http://wordpress.org/extend/plugins/js-css-script-optimizer/](http://wordpress.org/extend/plugins/js-css-script-optimizer/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [mneil](https://wordpress.org/support/users/mneil/)
 * (@mneil)
 * [15 years ago](https://wordpress.org/support/topic/plugin-js-css-script-optimizer-doesnt-work-with-css-background-images/#post-2065236)
 * js-css-script-optimizer also doesn’t work with wp_localize_script() apparently.
 *  Plugin Author [Yevhen](https://wordpress.org/support/users/evgenniy/)
 * (@evgenniy)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-js-css-script-optimizer-doesnt-work-with-css-background-images/#post-2065498)
 * I think that I found the problem! Please update to version 0.2.1.
    P.S.: Sorry
   for delay 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: JS & CSS Script Optimizer] Doesn't work with css background 
images’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/js-css-script-optimizer_cdb920.svg)
 * [JS & CSS Script Optimizer](https://wordpress.org/plugins/js-css-script-optimizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/js-css-script-optimizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/js-css-script-optimizer/)
 * [Active Topics](https://wordpress.org/support/plugin/js-css-script-optimizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/js-css-script-optimizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/js-css-script-optimizer/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Yevhen](https://wordpress.org/support/users/evgenniy/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-js-css-script-optimizer-doesnt-work-with-css-background-images/#post-2065498)
 * Status: not resolved