add minimun widths and paddings to preview images in case where the image is too small