Set a max height and width for inline images.