Tweak thumbnail processor

The box argument can be either a string or a list.