Only add the style attribute if it has properties
Adjust `get_unadjusted_size` to account for image sizes that may have been changed. Also remove unneeded image sizes.
Include width and height in root picture span if there is no attachment id