EWWW Image Optimizer
[resolved] Optimizing a Nextgen gallery, one at a time (5 posts)

  1. onerock
    Posted 3 years ago #

    Wow, what an awesome plugin! I have been looking for something to do just what yours does! I found it through this nextgen-gallery.com 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.


  2. nosilver4u
    Plugin Author

    Posted 3 years ago #

    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: http://sourceforge.net/projects/littleutils/
    And you can use the author's instructions at http://linuxgazette.net/119/lindholm.html - there's a section where he talks about optimizing all the images on a site using the 'find' command.

  3. onerock
    Posted 3 years ago #

    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!

  4. nosilver4u
    Plugin Author

    Posted 3 years ago #

    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.

  5. onerock
    Posted 3 years ago #

    Wish I could help with that but, I don't even know enough coding to even be dangerous yet. :)

    Thanks again for your help.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • EWWW Image Optimizer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic