css image giving height images gets hide code example Example: how to contain image size overflow: 'hidden', backgroundSize : 'contain',