Add scaling of thumbnail images.