.gl.image

  img&
  > img
    color transparent

  img&.background
  &.background img
    height 100%
    left 0
    object-fit cover
    position absolute
    top @left
    width @height

    &.contained
      object-fit contain

  img&.avatar
  &.avatar img
    border-radius 50%
    height 3em
    width @height

  img&.large.avatar
  &.large.avatar img
    height 5em
    width @height

  img&.big.avatar
  &.big.avatar img
    height 7em
    width @height

  img&.fluid
  &.fluid img
    height auto
    width 100%

  img&.semitransparent
  &.semitransparent img
    opacity .5

  img&.pale
  &.pale img
    background $color-pale

  img&.semitransparent
  &.semitransparent img
    opacity .65
