WordPress & NextGen Gallery Plugin

NextGen GalleryI have been using NextGen Gallery Plugin for years on the various WordPress blogs I have set up, both for myself and for others. One thing I had not noticed, until recently, was just what a resource hog the NextGen Gallery (NGG for short) plugin is. Maybe I had noticed, because of the light traffic that my blogs typically have. One blog that I helped to set up and continue to help maintain on the back-end has a huge amount of traffic and recently suffered from some major slowdowns due to traffic.

After some analysis type work at the server level I noticed very quickly that two plugins in particular caused a huge spike in CPU usage when active. The CPU usage did not just spike and level off back down close to where it was, but rather doubled or more and stayed at that level for several hours while I was doing the testing. Of the two plugins, sure enough, NextGen Gallery was one of them.

I had been saying for a while now with the built-in gallery functions of WordPress at this point, I am not sure if there really is a need for such a wiz bang over the top tool like NextGen going forward and with that analysis from above I am even more convinced now. I suppose part of the problem is that NextGen is just not very efficient and checking when it has galleries in a post and further must have similar in-efficiency when it is actually loading a gallery. Further, I guess I have compounded it by usually adding a random gallery from NGG in to a widget area on most sites that I have anything to do with.

I do see where there is a small plugin available that makes NGG more efficient, clearly indicating that my personal experiences with its heavy resource usage are not just some strange situation with my setup, but rather a more wide-spread issue. I am currently doing some testing with that plugin (along with a colleague) on the blog that had it first noted, just because there is so much there already in NGG. Just based on the reading, the plugin only offers a little bit short of the premium version – but that is only $15.00 – so that is what we are running with currently.

As for my smaller blogs I think I am going to suggest a conversion away from NGG and to instead adopt the standard built-in gallery with a small plugin to do some enhancement. Expect a follow-up post when some of that conversion and evaluation is complete.

** – Image is NextGen Gallery Logo.

8 Replies to “WordPress & NextGen Gallery Plugin”

  1. Thanks for sharing. I plan on switching to WordPress in the next couple of months and need to learn all about the various plug-ins and what to use or avoid. I’ll definitely be checking back for a follow up for your results 🙂

    1. Thanks for the comment, hope it helps when it comes time to do that change over. I am pretty intimate with WordPress and will be happy to offer advice or assistance when you get into the process if you have specific questions.

    1. The potential for plug-ins to crash or slow things down is real and a big risk. Where as WordPress core has a team of folks working on and a huge world group of testers, when you get to a plugin, there can be one coder working on it and very limited testing. Since Photocrati Media took over I would expect that to not be the case.

  2. As a follow up, the colleague mention above (shout out to you Gary) did some research on this over the weekend. It appears the bloat in NGG occurred with the 2.0 release under Photocrati Media – and that if you roll back to the version before that (1.9.X) the speed issues go away. What happens though when there is a security patch going forward?

  3. Thanks for the info Ray. I suspected NextGen was a resource hog and a scan on P3 confirmed it as did you comments. I will be looking for a new gallery plugin and will look forward to reading about your efforts.

    Thanks, again, -Jeff-

Comments are closed.