Utility module to resize original images previously uploaded to your site.
The problem
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.
When this module's useful
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.
When this module won't help
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.
What it does
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.
When you're done
After running the job on admin/content/image-resize-massupdate you can
safely uninstall this module. It's only useful for this one thing.
Installation
Install this module using the official
Backdrop CMS instructions
Dependencies
- image (core)
Issues
Bugs and Feature requests should be reported in the
Issue Queue
Current Maintainers
License
This project is GPLv3 software. See the LICENSE.txt file in this directory for complete text.