Image supports alignment attribute

Image fields now support an "alignment" style attribute to define where the image should be located in a larger container.

Image field now supports style attribute "alignment" to define where the picture should be located when the container (widget) is bigger.

Values can be combination of { top, bottom }, { left, right } and center ; for instance "bottom left":
<Style name="Image.centered">
  <StyleAttribute name="alignment" value="center"/>
</Style>
<Style name="Image.bottomright">
  <StyleAttribute name="alignment" value="bottom right"/>
</Style>

When the attribute autoscale is set, alignment will only be applied on the direction which does not fill the widget. By default, alignment will be like "top left" in previous versions.