major
nice-to-have
defect
major
enhancement
When using the ImageControl together with an ImageField, a CSS class from the ImageField is implicitly used and applied to the root tag of the ImageControl. (Constructor: ImageControl(ImageField)).
However, when instantiating the ImageControl with an ImageComponent, there is no way to specify a corresponding CSS class to be applied to the ImageControl’s root tag.
Consequently, you also cannot make any changes to the styling of the root tag.
Code Migration
The signature of the ImageComponent constructors in ImageControl has been extended to include the "cssClasses" parameter.
Test
The person who implemented this ticket did not create a test.