EWWW Image Optimizer

Beskrivning

The EWWW Image Optimizer will increase your page speeds by way of image optimization. Increased page speeds can result in better search engine rankings, and will also improve conversion rates (increased sales and signups). It will also save you storage space and bandwidth. While EWWW I.O. will automatically optimize new images that you upload, it can also optimize all the images that you have already uploaded, and optionally convert your images to the best file format. You can choose pixel perfect compression or high compression options that are visually lossless.

EWWW I.O. will optimize images uploaded and created by any plugin, and features special integrations with many popular plugins, detailed below.

Why use EWWW Image Optimizer?

  1. No Speed Limits and unlimited file size.
  2. Smooth Handling with pixel-perfect optimization using industry-leading tools and progressive rendering.
  3. High Torque as we bring you the best compression/quality ratio available with our lossy options for JPG, PNG, and PDF files.
  4. Adaptive Steering with intelligent conversion options to get the right image format for the job (JPG, PNG, or GIF).
  5. Free Parking The core plugin is free and always will be. However, our paid services offer up to 80% compression, and a host of other features!
  6. Comprehensive Coverage: no image gets left behind, optimize everything on your site, beyond just the WordPress Media Library.
  7. Safety First: all communications are secured with top SSL encryption.
  8. Roadside Assistance: top-notch support is in our DNA. While API customers get top priority, we answer every single support question with care.
  9. Pack a Spare: free image backups store your original images for 30 days.

Images can be optimized using tools on your own server for free (jpegtran, optipng, pngout, pngquant, gifsicle, cwebp), or can be optimized via specialized servers that utilize the best tools available in lossless or lossy mode. Our lossy compression uses unique algorithms to gain maximum compression while remaining visually lossless. Your images can even be converted to the most suitable file format using the appropriate options. Using the EWWW I.O. API will allow the plugin to work on any hosting platform, and can also be desirable if you cannot, or do not want to use the exec() function on your server, or prefer to offload the resource demands of optimization.

If you need a version of this plugin for API use only, see EWWW Image Optimizer Cloud. It is much more compact as it does not contain any binaries or any mention of the exec() function.

Automatic Everything

With Easy IO, images are automatically compressed, scaled to fit the page and device size, lazy loaded, and converted to the next-gen WebP format.

Support

If you need assistance using the plugin, please visit our Support Page.
The EWWW Image Optimizer is developed at https://github.com/nosilver4u/ewww-image-optimizer

Bulk Optimize

Optimize all your images from a single page using the Bulk Scanner. This includes the Media Library, your theme, and a handful of pre-configured folders (see Optimize Everything Else below). Officially supported galleries (GRAND FlaGallery, NextCellent and NextGEN) have their own Bulk Optimize pages.

Optimize Everything Else

Configure any folder within your WordPress folder to be optimized. The Bulk Scan under Media->Bulk Optimize will optimize theme images, BuddyPress avatars, BuddyPress Activity Plus images, Meta Slider slides, WP Symposium Pro avatars, GD bbPress attachments, Grand Media Galleries, and any user-specified folders. Additionally, this tool can run on an hourly basis via wp_cron to keep newly uploaded images optimized. Scheduled optimization should not be used for any plugin that uses the built-in WordPress image functions.

Skips Previously Optimized Images

All optimized images are stored in the database so that the plugin does not attempt to re-optimize them unless they are modified. On the Bulk Optimize page you can view a list of already optimized images. You may also remove individual images from the list, or use the Force optimize option to override the default behavior. The re-optimize links on the Media Library page also force the plugin to ignore the previous optimization status of images.

WP Image Editor

All images created by the built-in WP_Image_Editor class will be automatically optimized. Current implementations are GD, Imagick, and Gmagick. Images optimized via this class include Animated GIF Resize, BuddyPress Activity Plus (thumbs), Easy Watermark, Hammy, Imsanity, MediaPress, Meta Slider, MyArcadePlugin, OTF Regenerate Thumbnails, Regenerate Thumbnails, Simple Image Sizes, WP Retina 2x, WP RSS Aggregator and probably countless others. If you are not sure if a plugin uses WP_Image_Editor, just ask.

WebP Bilder

Automatic WebP conversion with Easy IO, no additional configuration. Otherwise, can generate WebP versions of your images, and enables you to serve even smaller images to supported browsers. Several methods are available for serving WebP images, including Apache-compatible rewrite rules and our JS WebP Rewriting option compatible with caches and CDNs. Also works with the WebP option in the Cache Enabler plugin from KeyCDN.

WP-CLI

Allows you to run all Bulk Optimization processes from your command line, instead of the web interface. It is much faster, and allows you to do things like run it in ’screen’ or via regular cron (instead of wp-cron, which can be unpredictable on low-traffic sites). Install WP-CLI from wp-cli.org, and run ’wp-cli.phar help ewwwio optimize’ for more information or see the Docs.

FooGallery

All images uploaded and cached by FooGallery are automatically optimized. Previous uploads can be optimized by running the Media Library Bulk Optimize. Previously cached images can be optimized by entering the wp-content/uploads/cache/ folder under Folders to Optimize and running a Scan & Optimize from the Bulk Optimize page.

NextGEN Gallery

Features optimization on upload capability, re-optimization, and bulk optimizing. The NextGEN Bulk Optimize function is located near the bottom of the NextGEN menu, and will optimize all images in all galleries. It is also possible to optimize groups of images in a gallery, or multiple galleries at once.

NextCellent Gallery

Features all the same capability as NextGEN, and is the continuation of legacy (1.9.x) NextGEN support.

GRAND Flash Album Gallery

Features optimization on upload capability, re-optimization, and bulk optimizing. The Bulk Optimize function is located near the bottom of the FlAGallery menu, and will optimize all images in all galleries. It is also possible to optimize groups of images in a gallery, or multiple galleries at once.

Image Store

Uploads are automatically optimized. Look for Optimize under the Image Store (Galleries) menu to see status of optimization and for re-optimization and bulk-optimization options. Using the Bulk Optimization tool under Media Library automatically includes all Image Store uploads.

CDN Support

WP Offload Media is the officially supported (and recommended) plugin for uploads to Amazon S3 and Digital Ocean Spaces. We also support the Azure Storage and Cloudinary plugins. All pull mode CDNs like Cloudflare, KeyCDN, MaxCDN, and Sucuri CloudProxy work automatically, but will require you to purge the cache after a bulk optimization.

WPML Compatible

Tested regularly to ensure compatibility with multilingual sites. Learn more at https://wpml.org/plugin/ewww-image-optimizer/

Translations

Huge thanks to all our translators! See the full list here: https://translate.wordpress.org/projects/wp-plugins/ewww-image-optimizer/contributors

If you would like to help translate this plugin (new or existing translations), you can do so here: https://translate.wordpress.org/projects/wp-plugins/ewww-image-optimizer
To receive updates when new strings are available for translation, you can signup here: https://ewww.io/register/

Contact and Credits

Written by Shane Bishop with special thanks to my Lord and Savior. Based upon CW Image Optimizer, which was written by Jacob Allred at Corban Works, LLC. CW Image Optimizer was based on WP Smush.it. Jpegtran is the work of the Independent JPEG Group. PEL is the work of Martin Geisler, Lars Olesen, and Erik Oskam. Easy IO and HTML parsing classes based upon the Photon module from Jetpack.

Skärmdumpar

  • Plugin settings page.
  • Additional optimize column added to media listing. You can see your savings, manually optimize individual images, and restore originals (converted only).
  • Bulk optimization page. You can optimize all your images at once and resume a previous bulk optimization. This is very useful for existing blogs that have lots of images.

Installation

  1. Upload the ”ewww-image-optimizer” plugin to your /wp-content/plugins/ directory.
  2. Aktivera tillägget under tilläggsmenyn i WordPress.
  3. The plugin will attempt to install jpegtran, optipng, and gifsicle automatically for you. This requires that the wp-content folder is writable by the user running the web server.
  4. If the binaries don’t run locally, you can sign up for the EWWW IO cloud service to run them via our optimization servers: https://ewww.io/plans/
  5. Recommended Visit the settings page to enable/disable specific tools and turn on advanced optimization features.
  6. Done!

If these steps do not work, additional documentation is available at https://docs.ewww.io/article/6-the-plugin-says-i-m-missing-something. If you need further assistance using the plugin, please visit our Support Page.

Webhosts

To find out if your webhost works with the EWWW Image Optimizer, you can check the official list.

Vanliga frågor

Google Pagespeed says my images need compressing or resizing, but I already optimized all my images. What do I do?

Try this for starters: https://docs.ewww.io/article/5-pagespeed-says-my-images-need-more-work

The plugin complains that I’m missing something, what do I do?

This article will walk you through installing the required tools (and the alternatives if installation does not work): https://docs.ewww.io/article/6-the-plugin-says-i-m-missing-something

Does the plugin replace existing images?

Yes, but only if the optimized version is smaller. The plugin should NEVER create a larger image.

Can I resize my images with this plugin?

Yes, you can, set it up on the Resize tab.

Can I lower the compression setting for JPGs to save more space?

The lossy JPG optimization using the API will determine the ideal quality setting and give you the best results, but you can also adjust the default quality for conversion and resizing. More information: https://docs.ewww.io/article/12-jpq-quality-and-wordpress

The bulk optimizer doesn’t seem to be working, what can I do?

See https://docs.ewww.io/article/39-bulk-optimizer-failure for full troubleshooting instructions.

What are the supported operating systems?

I’ve tested it on Windows (with Apache), Linux, Mac OSX, FreeBSD 9, and Solaris (v10). The cloud API will work on any OS.

Hur optimeras JPG?

Lossless optimization is done with 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.

Hur optimeras PNG?

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 using the Overrides. Optipng is an automated derivative of pngcrush, which is another widely used png optimization utility.

Hur optimeras GIF?

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

I want to know more about image optimization, and why you chose these options/tools.

That’s not a question, but since I made it up, I’ll answer it. See this resource:
https://developers.google.com/web/tools/lighthouse/audits/optimize-images

Recensioner

5 december, 2019
I tested nearly a dozen different image optimisation plugins and EWWW was the best by far (even the free version). By going for the paid version I got the same amazing results on PDF files and even better results on jpgs. The support team were really helpful and friendly, a very pleasant difference to some of the support I've had from companies where I've spent hundreds of pounds on their software! Thank you!
5 december, 2019
Me ahorro mucho espacio y tiempo en la pagina!
4 december, 2019
I‘m using EWWW for several years on several of my websites. It has a lot of functions that are very useful to speed it up: compress images, resize images or the integration of the WebP graphic format. I can really recommend it!
4 december, 2019
In our case we had 10,000 report images going back to 2015 setup of a client reporting platform with screencaps of ROI, where all the images done with SNAGIT were done at 90% jpeg quality vs 65%. While I could have downloaded everything and tied up a workstation running a script to batch process stuff with arbitrary compression amount; this was better choice to 'smart compress' each image on the fly. Sure, only the first 500 were free, but priceless for improving performance as well as reducing the twice daily R1/backup on our server. Great choice if you have folks uploading stuff too big, as authors might, as well. Worked very well for us, speaking as long time webdev going back to 1995, and WordPress dev since 2004. Highly recommended.
Läs alla 574 betyg

Bidragsgivare och utvecklare

”EWWW Image Optimizer” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

”EWWW Image Optimizer” har översatts till 23 språk. Tack till översättarna för deras bidrag.

Översätt ”EWWW Image Optimizer” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

  • Feature requests can be viewed and submitted at https://github.com/nosilver4u/ewww-image-optimizer/labels/enhancement
  • If you would like to help translate this plugin in your language, get started here: https://translate.wordpress.org/projects/wp-plugins/ewww-image-optimizer/

5.1.3

  • added: better compatibility with Divi filterable grid images and parallax backgrounds
  • added: cleanup .webp and database records when using Enable Media Replace
  • fixed: Divi builder will not load with Easy IO and Include All Resources active
  • fixed: image cover block with fixed width scaled too much
  • fixed: PNG placeholders could use more memory than available
  • removed: Lazy Load CSS gradient for blank placeholders

5.1.2

  • added: disable native lazy-load attributes with EWWWIO_DISABLE_NATIVE_LAZY
  • added: ability to choose LQIP or blank placeholders for lazy load
  • changed: renaming ExactDN as Easy IO
  • changed: default to blank placeholders with Easy IO
  • changed: regenerated images are automatically re-optimized after running Image Regenerate & Select Crop plugin
  • fixed: low-quality placeholders sometimes had larger dimensions than necessary
  • fixed: database records and .webp images are not removed when Image Regenerate & Select Crop plugin deletes a thumbnail
  • fixed: path traversal protection preventing normal files from optimizing
  • fixed: Slider Revolution dummy.png not properly handled by Easy IO

5.1.1

  • fixed: no optimization when escapeshellarg() is disabled
  • fixed: warning thrown by implode() when JS WebP is enabled with no WebP URLs

5.1.0

  • added: WebP-only mode for Bulk Optimizer
  • added: JS WebP Rewriting for pull-mode CDNs via WebP URLS without Force WebP
  • added: JS WebP Rewriting zero-conf for WP Offload Media
  • added: force lossy PNG to WebP conversion with EWWW_IMAGE_OPTIMIZER_LOSSY_PNG2WEBP override (set to true)
  • changed: bulk optimizer runs wp_update_attachment_metadata() in separate request to avoid timeouts
  • fixed: WebP warning regarding missing modules displayed even if green WebP test image is working
  • fixed: Nextgen bulk actions not working
  • fixed: unable to regenerate existing thumbnails with Image Regenerate & Select Crop plugin
  • updated: WebP (cwebp) binary to version 1.0.3
  • updated: Pngquant binary to version 2.12.5
  • updated: cwebp requires Mac OS X 10.14
  • updated: FreeBSD 10 is EOL, version 11 is the supported/tested version

5.0.0

  • added: use native lazy load attributes to supplement lazy loader and make placeholders more efficient
  • added: GCS sub-folder rewriting with ExactDN for cleaner URLs
  • added: option to optimize original versions of scaled images for WP 5.3
  • added: ability to erase optimization history from Tools page
  • changed: define EWWWIO_WPLR_AUTO (any value) to enable auto-optimize on images from WP/LR Sync
  • changed: thumbnails could be converted even if original was not
  • changed: Show Optimized Images table moved to Tools menu
  • fixed: full-size image optimization not deferred if scaled by WP 5.3
  • fixed: data-width and data-height attributes missing when JS WebP active
  • security: rewrote escapeshellarg() wrapper to be more secure

Earlier versions

Please refer to the separate changelog.txt file.