- Issue created by @Petr Illek
Hi,
thank you for such module. It created me dozens of image styles in few seconds … after hours struggling with the setup. :D
I would like to have the ID's and Labels without specific sizes (e.g. instead 600 have string "medium"), but that is currently not possible. If you don't use any calculated token in the name structure the migration will only create the last item. It took me some time to figure that out (would be nice to document that at least).
Create a config which should produce few combinations of base_sizes, size_scales and style_group. Use
id_pattern: '{{group_id}}_{{aspect_ratio_width}}_{{aspect_ratio_height}}_{{size_scale_decimal}}x'
as the pattern to generate ID.
Would be nice there some warning that the resulting image styles do have the same ID, because of the pattern.
Would be great if there is an option to define optional "base_strings" to map to "base_sizes" and use them as a pattern.
Thanks for a time saving module!
Active
1.1
Code