Refining image shortcode output and markup.