image scaling, adding dividers