adjust width on image for preview