This demo shows how to use the thumbnailsOptions option and CSS to customize how thumbnails are rendered. For a more elaborate example, see customizing thumbnails #2.