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:
- Create 2 Image styles for portrait and to landscape format;
- Change the formatter for images from default to “Auto image style”;
- 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.