Html Css Resize Image Proportionally. Actually it s very easy all you need to do is to set the appropriate value for max width css property. The resize property will not work if width and height of image defined in the html.
You can see the full list of supported css properties for emails here. Example of auto resizing an image with the max width and max height properties. Also the image should be scaled down proportionally to the size of the table cell.
This is as part of an email template so i have no modern css support so i can t for example use background related css.
Resize images with the css max width property there is a better way for resizing images responsively. To resize an image proportionally set either the height or width to 100 but not both. The resize property will not work if width and height of image defined in the html. Will shrink image to 30 of its original width height.