In The Wild
Every theme or plugin can register new image sizes. All images will be resized to that size, regardless if it will ever be used. This plugin makes sure that images are only resized when they are requested.
- Plug and Play. No changes to your existing markup are required.
- No External Services. The images never leave your server.
- Sane defaults, highly configurable. While installing and activating the plugin is enough to get you going. You can tweak most parts through settings and filters.
How it works
When a user requests an image and the size is not yet present, the plugin hooks into the 404 template redirect and resizes the image to the required size. If the original image does not exist, a 404 is returned as expected.
This allows you to change or test themes and plugins without manually taking care of the image resizing. Moreover, only the sizes that got requested are stored on your server.