Utility module to resize original images previously uploaded to your site.
Sites with lots of images, like image galleries, which are around for quite a while might experience disk space problems.
Nowadays photos are usually uploaded directly from smartphones, but those got a lot more capable in the past decade. The higher image resolutions cause bigger file sizes. And if there are lots of those high resolution photos, they slowly eat up lots of disk space.
If such resolutions aren't ever displayed on your site, anyway - because you're using smaller image derivatives (image styles) for display - this is just wasted space.
You can and should set maximum dimensions for fields in image field settings, but that only applies to newly uploaded files, not existing ones.
So far, there was no way to resize previously uploaded images retrospectively.
Well - now there is.
If you have thousands of existing images, resolutions of 6000x4000px or higher, each of those images has a file size of 8MB or more, this sums up. Resizing the originals can free several GB of space.
If the main disk space hogs are videos or documents (like PDF), resizing some images won't free much space.
If you actually need those high resolutions, for example for purchased downloads, then better don't use this module, as it will resize all huge images from managed files.
This module resizes the original images in your files folder and also updates metadata in the database, so the file size and width/height of images match the actual values.
It keeps the original "changed" timestamp, though.
After running the job on admin/content/image-resize-massupdate you can safely uninstall this module. It's only useful for this one thing.
Install this module using the official Backdrop CMS instructions
- image (core)
Bugs and Feature requests should be reported in the Issue Queue
This project is GPLv3 software. See the LICENSE.txt file in this directory for complete text.