Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Image Compression

No security coverage Under active development 60 sites

This module compresses images, both newly uploaded ones and those already on your website. You can configure the maximum file size and compression rate to optimize image sizes.

A module for compressing the images which are already existing in a website and compressing the images for new uploads.

Installation steps:
Using composer: composer require drupal/image_compression

Goto Configuration -> Image compression
Enter the file size in bytes. If you need to select images of above 100KB provide the size value as 100000 and select the compression rate values.
Try to upload the image and the image gets comperssed.

For compressing already existing images. perform the above steps and goto
Configuration->Compress Existing images and perform the operation.

Note:
The files folder should have proper writable permission. (766)

Drupal 8–10 · not 11

Ask your assistant about Image Compression

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Aug 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
2.0.1 Stable 8–10 Aug 25, 2023