Parameterize thumb frame size

See #1039.  Does not (yet) work for images