Title: [Plugin: NextGEN Gallery] Code cleanup
Last modified: August 20, 2016

---

# [Plugin: NextGEN Gallery] Code cleanup

 *  [firebird75](https://wordpress.org/support/users/firebird75/)
 * (@firebird75)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-code-cleanup/)
 * Hello,
 * I have used the blackbox debug bar and it looks like the code would need a bit
   of refresh to remove few minor coding errors.
 * Can you please install and run it :
    [http://wordpress.org/extend/plugins/blackbox-debug-bar/](http://wordpress.org/extend/plugins/blackbox-debug-bar/)
 * This will show you that there are few PHP problems in the code. Not big issues,
   but the plugin would be cleaner if they were fixed. Some of these issues could
   result in random behaviours and hidden bugs…
 * Also, would be nice if the required files could be only loaded when there is 
   actually a gallery showed. Right now, the CSS file is loaded on every page for
   instance.
 * Thanks a lot for your great job!
 * [http://wordpress.org/extend/plugins/nextgen-gallery/](http://wordpress.org/extend/plugins/nextgen-gallery/)

The topic ‘[Plugin: NextGEN Gallery] Code cleanup’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [firebird75](https://wordpress.org/support/users/firebird75/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-code-cleanup/)
 * Status: not resolved