Add max width for horizontal image layout