max width for images and conditionally round thumb