Set max width/height for images in summary