Support » Plugin: EWWW Image Optimizer » [Plugin: EWWW Image Optimizer] Optimizing a Nextgen gallery, one at a time

  • Resolved onerock


    Wow, what an awesome plugin! I have been looking for something to do just what yours does! I found it through this article.

    I run a website with a very LARGE Nextgen Gallery consisting of 967 Galleries with a total of 41126 Images.

    I am reluctant to run the Bulk NextGEN Gallery Optimizer function in case there is an issue or what not. I would like to do something similar to the WordPress media library by selecting a few galleries at a time and bulk optimize only the selected galleries.

    Is there any way to do this? I found your response in the “optimize wp theme” thread about running the FAQ command via a script. I see that the command is written for an individual file at a time. I am very new to the coding world so, do you have any advice on how to create such a script, if the above option isn’t available?

    Thanks so much in advance for any advice you can give.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author nosilver4u


    Wow, that’s a lot of images. You could try the bulk optimizer, but it is highly likely that it would time out before you finished them all. The command line tools might be your best bet for the existing images.

    This might help:

    But here’s another option:
    And you can use the author’s instructions at – there’s a section where he talks about optimizing all the images on a site using the ‘find’ command.

    Thanks for the options, but I found a very good alternative that I have been using. It is a Perl script called Wesley that allows directory by directory optimization. It uses the following packages (jpegtran, gifsicle, pngcrush, and ImageMagick) to handle the optimization of supported image types.It isn’t within the WordPress admin panel but does what I need it to very well.

    Thanks for your help!

    Plugin Author nosilver4u


    Oh, and I missed one of your questions that others will no doubt ask in the future, and that is the issue of optimizing a gallery at a time, or multiple (20, 50, 100, etc.) images in one batch. Unfortunately, I could not find any mechanism to hook into the actions drop down in NextGEN, although it is probably feasible with javascript like we do for the main Media Library. If someone has any ideas on that, I’m open to suggestions.

    Wish I could help with that but, I don’t even know enough coding to even be dangerous yet. 🙂

    Thanks again for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: EWWW Image Optimizer] Optimizing a Nextgen gallery, one at a time’ is closed to new replies.