[ted] Add width and height (Fixes #2716)