Reduce file sizes for images within WordPress including NextGEN, GRAND FlAGallery and more. Uses jpegtran, optipng, pngout, pngquant, and gifsicle.
Yes, but only if the optimized version is smaller. The plugin should NEVER create a larger image.
No, that would be a lossy operation, and we try to avoid that. Use Imsanity.
Again, that would be a lossy operation, and we try to avoid that. Use Imsanity.
Each image is given 50 seconds to complete (which actually doesn't include time used by the optimization utilities). If that doesn't seem to do the trick, you can also increase the setting max_execution_time in your php.ini file. That said, there are other timeouts with Apache, and possibly other limitations of your webhost. If you've tried everything else, the last thing to look for is large PNG files. In my tests on a shared hosting setup, "large" is anything over 300 KB. You can first try decreasing the PNG optimization level in the settings. If that doesn't work, perhaps you ought to convert that PNG to JPG. Screenshots are often done as PNG files, but that is a poor choice for anything with photographic elements.
I've tested it on Windows (with Apache), Linux, Mac OSX, FreeBSD, and Solaris (v10). The cloud service will run on any OS.
Using the command jpegtran -copy all -optimize -progressive -outfile optimized-file original-file. Optionally, the -copy switch gets the 'none' parameter if you choose to strip metadata from your JPGs on the options page.
There are three parts (and all are optional). First, using the command pngquant original-file, then using the commands pngout-static -s2 original-file and optipng -o2 original-file. You can adjust the optimization levels for both tools on the settings page. Optipng is an automated derivative of pngcrush, which is another widely used png optimization utility.
Using the command gifsicle -b -O3 --careful original file. This is particularly useful for animated GIFs, and can also streamline your color palette. That said, if your GIF is not animated, you should strongly consider converting it to a PNG. PNG files are almost always smaller, they just don't do animations. The following command would do this for you on a Linux system with imagemagick: convert somefile.gif somefile.png
Go for it, version 1.2+ makes this possible so long as you have either one of the PNG optimizers available.
That's not a question, but since I made it up, I'll answer it. See the Image Optimization sections for Yslow - Yahoo and Google PageSpeed. Pngout was suggested by a user and in tests optimizes better than Optipng, and best (usually) when they are used together.
Requires: 3.5 or higher
Compatible up to: 3.8.1
Last Updated: 2014-3-8
55 of 63 support threads in the last two months have been resolved.
Got something to say? Need help?