Make max thumbnail width configurable