Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Image style on upload

528 sites Security covered
View on drupal.org

This module automatically applies a chosen image style to uploaded images. This helps optimize images by resizing them upon upload, improving website performance.

Summary

Applies a configurable image style when uploading image files on the website.

This can be very handy when you are working with an optimize pipeline on your image style.
When a content editor then adds a big file, the original file will already go through a process of optimisation (typically the width will be reduced - by default an upload image style is added of 2000px width).

How to configure

After installing and enabling the module, go to: /admin/config/media/image_style_on_upload
Select an image style and configure the mime types of the files that you wish to alter:

Save and export configuration...

That's all there is to it!

Activity

Total releases
2
First release
May 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Release date
1.1.2 Stable May 19, 2025
1.1.x-dev Dev May 19, 2025