4 * Theme override of a responsive image.
7 * - sources: The attributes of the <source> tags for this <picture> tag.
8 * - img_element: The controlling image, with the fallback image in srcset.
9 * - output_image_tag: Whether or not to output an <img> tag instead of a
12 * @see template_preprocess()
13 * @see template_preprocess_responsive_image()
16 {% if output_image_tag %}
22 Internet Explorer 9 doesn't recognise source elements that are wrapped in
23 picture tags. See http://scottjehl.github.io/picturefill/#ie9
25 <!--[if IE 9]><video style="display: none;"><![endif]-->
26 {% for source_attributes in sources %}
27 <source{{ source_attributes }}/>
29 <!--[if IE 9]></video><![endif]-->
31 {# The controlling image, with the fallback image in srcset. #}