The Normalized Image Styles module provides 20 sets of aspect ratio based image styles with normalized dimensions. These sets of image styles can be used by the core Responsive Image module as part of your site performance strategy.
Each set contains 17 normalized base widths (in pixels):
- 3840
- 3328
- 2944
- 2560
- 2176
- 1920
- 1664
- 1408
- 1152
- 1024
- 896
- 768
- 640
- 512
- 384
- 256
- 128
The height for each image style is a function of the aspect ratio (width / aspect ratio, rounded down).
Normalized Image Styles uses the Image Style Generate module to generate the image styles for each aspect ratio. After enabling the base module and any desired aspect ratios, you need to run the migration import process.
Once imported, Normalized Image Styles and all of its sub-modules can safely be uninstalled on the module Uninstall page. The generated image style configuration will persist and can be managed on the configuration Synchronize page or via Drush commands.
Similar projects
Easy Responsive Images
Has the added benefit of generating media image view modes and responsive image styles for each aspect ratio you define. Currently employs a javascript based mechanism using data- attributes for swapping images rather than using native browser behavior.
Comments
Comment #2
apadernoThank you for applying!
Please read Review process for security advisory coverage: What to expect for more details and Security advisory coverage application checklist to understand what reviewers look for. Tips for ensuring a smooth review gives some hints for a smoother review.
The important notes are the following.
phpcs --standard=Drupal,>DrupalPractice
on the project, which alone fixes most of what reviewers would report.To the reviewers
Please read How to review security advisory coverage applications, Application workflow, What to cover in an application review, and Tools to use for reviews.
The important notes are the following.
For new reviewers, I would also suggest to first read In which way the issue queue for coverage applications is different from other project queues.
Comment #3
apadernoUsually, after reviewing a project, we allow the developer to opt projects into security advisory coverage. This project is too small for us and it doesn't contain enough PHP code to really assess your skills as developer.
Have you created any other project on drupal.org (module, theme, distribution) we could instead review? The project needs to have most of the commits (preferable all the commits) done by you.
Comment #4
apadernoI am closing this application since there have not been replies to my previous comment, where I asked for a different project to use for the application, after more than five weeks.