Resizes sample's preview images