{#- picture(img, sizes, eager=false, cls=''): img is a contract image (src, srcset, width, height, alt). Only the first image above the fold is eager (high priority, decoded with the page so it is not painted a frame late); everything else is lazy and decoded off the main thread. -#} {% macro picture(img, sizes, eager=false, cls='') -%} {%- endmacro %}