{{#ifCond type "==" "multiSource"}}

  <img
    class="c-image"
    src="http://placekitten.com/200/133"
    srcset="
      http://placekitten.com/100/67 100w,
      http://placekitten.com/200/133 200w,
      http://placekitten.com/300/200 300w,
      http://placekitten.com/400/267 400w,
      http://placekitten.com/500/333 500w,
      http://placekitten.com/600/400 600w,
      http://placekitten.com/700/467 700w,
      http://placekitten.com/800/533 800w"
    sizes="
      (max-width: 100px) 100px,
      (max-width: 200px) 200px,
      (max-width: 300px) 300px,
      (max-width: 400px) 400px,
      (max-width: 500px) 500px,
      (max-width: 600px) 600px,
      (max-width: 700px) 700px,
      800px"
    alt="Photo with srcset" />

{{else ifCond type "==" "multiSourceLazy"}}

  <img
    class="c-image js-lazyimage"
    {{#if placeholder}}
      src="{{placeholder}}"
    {{/if}}
    {{#if src}}
      data-src="{{src}}"
    {{/if}}
    {{#if srcset}}
      data-srcset="{{srcset}}"
    {{/if}}
    data-sizes="auto"
    alt="{{alt}}"
    {{#each attrs}}{{@key}}="{{this}}"{{/each}} />

{{else ifCond type "==" "multiSourceLazyContainer"}}

  <div class="c-image-container c-image-container--lazy c-image-container--ratio-32">
    <div class="c-image-container--lazy__wrapper">
      <img
        class="c-image js-lazyimage"
        data-src="http://placekitten.com/200/133"
        data-srcset="
          http://placekitten.com/100/67 100w,
          http://placekitten.com/200/133 200w,
          http://placekitten.com/300/200 300w,
          http://placekitten.com/400/267 400w,
          http://placekitten.com/500/333 500w,
          http://placekitten.com/600/400 600w,
          http://placekitten.com/700/467 700w,
          http://placekitten.com/800/533 800w"
        data-sizes="auto"
        alt="Photo with data-srcset" />
      <noscript>
        <img class="c-image" width="800" height="533" src="http://placekitten.com/800/533" alt="Photo" />
      </noscript>
    </div>
  </div>

{{else}}

  <img class="c-image" width="{{width}}" height="{{height}}" src="{{#if relativeSrc}}{{basePath}}{{/if}}{{src}}" alt="{{alt}}" {{#each attrs}}{{@key}}="{{this}}"{{/each}} />

{{/ifCond}}
