Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Auto image style

Security covered Under active development 161 sites

This module automatically applies a different image style based on whether the original image is in portrait or landscape orientation. It integrates with other modules like Link and Picture to provide flexible image handling.

Allows to apply an image style depending on whether the orientation of original image is portrait or landscape.

Features:

Has integration with the link module.
Has integration with the Picture module.

Full description

For some projects it is very important to display the image correctly in portrait or landscape format, keeping the dimensions and spacing specified in the template.

All you need is to:

  1. create 2 Image styles for portrait and to landscape format;
  2. change the formatter for images from default to “Auto image style”;
  3. set the templates for images you created.

Thus necessary style will be applied to the image depending on whether the initial image was landscape or portrait.
The module is integrated with the Link module. So if a picture goes with the Link field you can specify the path it links if you click on the picture.
The module also easily integrates with other standard modules such as Views, Features, Display Suite, Panels and others.

Created by ADCI solutions team

Ask your assistant about Auto image style

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
Nov 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
8.x-1.0-beta2 Pre-release 9–10 Nov 9, 2023