Set max-height for thumbnail to handle (much too) big thumbnails (closes ubpb/catalog#314)