set max width for gallary previews