Title: [Plugin: Autoptimize] JS optimization breaks JBgallery in Widescreen theme
Last modified: August 19, 2016

---

# [Plugin: Autoptimize] JS optimization breaks JBgallery in Widescreen theme

 *  [getiem](https://wordpress.org/support/users/getiem/)
 * (@getiem)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-autoptimize-js-optimization-breaks-jbgallery-in-widescreen-theme/)
 * When JS optimization is turned on, the slideshow on the mainpage of my site is
   broken. It is a jquery slideshow.
 * See [http://gallery.getiem.nl/](http://gallery.getiem.nl/)
 * Is there anything i can do about, or can you see what is the problem?
 * [http://wordpress.org/extend/plugins/autoptimize/](http://wordpress.org/extend/plugins/autoptimize/)

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

 *  Thread Starter [getiem](https://wordpress.org/support/users/getiem/)
 * (@getiem)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-autoptimize-js-optimization-breaks-jbgallery-in-widescreen-theme/#post-1727051)
 * Solution would be the splitting of the generated JS. Use a head js, and a footer
   js.
 * See how plugin [http://wordpress.org/extend/plugins/css-and-script-files-aggregation/](http://wordpress.org/extend/plugins/css-and-script-files-aggregation/)
   works. This one successfull combines the scripts. Only that one doesn’t gzip.
 * Best of both worlds would be nicest.
 * Thanks for good plugin!
 *  Thread Starter [getiem](https://wordpress.org/support/users/getiem/)
 * (@getiem)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-autoptimize-js-optimization-breaks-jbgallery-in-widescreen-theme/#post-1727182)
 * Hmmm, solution was found in a wrong coded other plugin.
    That produced bad javascript.
   With combining all scripts, all other javascript codes also did crash.
 *  Thread Starter [getiem](https://wordpress.org/support/users/getiem/)
 * (@getiem)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-autoptimize-js-optimization-breaks-jbgallery-in-widescreen-theme/#post-1727183)
 * Now, very nice and good plugin. Greatly reduces javascript overhead in kb and
   in requests.
 *  Thread Starter [getiem](https://wordpress.org/support/users/getiem/)
 * (@getiem)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-autoptimize-js-optimization-breaks-jbgallery-in-widescreen-theme/#post-1727233)
 * autoptimize breaks my page again….
 * Now only for IE8. All other browsers do work with the plugin. Not sure if its
   the fault of autoptimize or some of the javascript from other plugins. But for
   now I will shut down javascript optimization.
    Without optimization the javascript
   works in IE8. Problem is found in one of the codelines of jQuery when optimization
   takes place.
 * Maybe make switch, or have option to disable some of the JS to be optimized. 
   Or option to optimize by compressing without doing a minify.
 * Other: autoptimize css embed images works for embedding images, but breaks functionality
   of fancybox plugin.

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

The topic ‘[Plugin: Autoptimize] JS optimization breaks JBgallery in Widescreen 
theme’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 4 replies
 * 1 participant
 * Last reply from: [getiem](https://wordpress.org/support/users/getiem/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-autoptimize-js-optimization-breaks-jbgallery-in-widescreen-theme/#post-1727233)
 * Status: not resolved