- Issue created by @DamienMcKenna
The intended use is for example if one wants to use the core media embed plugin's view mode options. In that case, the Enable this to dynamically scale resized images using image styles should be disabled, as both things enabled at the same time IMO don't make much sense.
Imagine you use a view mode and resize a media then save it. If the setting of the resize module is active, the media won't render in the view mode selected in the editor but the one determined by the resize width.
It's basically possible to edit the view modes and image styles shipped with this module, so there's a (maybe not very intuitive) way to control how large the image will be rendered.
Even better would of course be a new setting inside the resize plugin (on the textformat edit form), which one could use to add own view modes or remove the ones shipped with the module. Please feel free to submit patches for this.
- πΊπΈUnited States DamienMcKenna NH, USA
So the image styles list is a way of rendering the image inside the media entity using an image style, instead of setting up extra view modes on the media entity? The UI definitely could use a little improvement on that.
And yes, the list of image styles definitely needs to be editable from the text format UI, instead of having to hack the list by manually editing the config file.
Also, if you manually edit the list via the config file and import the config changes, it does mention the new styles in the text format filter's help text as expected. However if you then uncheck the "Enable this to dynamically scale resized images using image styles" option the list of image styles is lost and it reverts to the list provided by the module.
- πΊπΈUnited States scotwith1t Birmingham, AL
To me, this module is very confusing. In core, we can already set up multiple view modes and enable those as options for selection for embedded media. Is this really just bypassing the use of View Modes, using it's own image styles (which you can't edit via the UI, only by manually updating the config files?) I, for one, am going to keep an eye on β¨ Allow editing of Width and Height of embedded images Active and hope that we can eventually offer arbitrarily resizing embedded media (and still use core view mode selections in conjunction).
Definitely appreciate the effort here but not entirely sure I see the benefit now that what is essentially the same functionality is available in core. Can someone maybe explain what any other main benefits/differences are between this module and the core functionality?