The buttons:
The optional file type allows for other than the default JPG.
By default, images are set to max-width:100%;. But for wide images they get crushed. So this option adds a class telling the browser to not squeeze images.
The module with the VBA Code.