Set height and width of thumbnail