Image HTML Generator

Options
If empty, height will be automatic.
If empty, width will be automatic.

Note: The preview image has a max-width of 100% so it won't overflow the container.

Preview
Code