support for type=cover/constrain
docs for scale type