Set max width for image.