paints enhancements

* link paints and pictures,
* add the size & order in paints entities