thumbnail & pager formatting