add max width for images