#SET{titre_avant, #TITRE|attribut_html}
#SET{width, #LARGEUR}
#SET{height, #HAUTEUR}
#SET{size, #GET{width}|concat{x, #GET{height}}}
#SET{size_recadre, #GET{width}|concat{:, #GET{height}}}
#SET{image_avant, #FICHIER|balise_img{#ALT, no-adapt-img, #GET{size}}}
#SET{titre_apres, #TITRE|attribut_html}
#SET{image_apres, #FICHIER|image_recadre{#GET{size_recadre}, -, focus}|balise_img{#ALT, no-adapt-img, #GET{size}}}
#SET{options, #ARRAY}
[(#ENV{legende}|=={oui}|oui)
#SET{options, #GET{options}|array_merge{#ARRAY{
showLabels, #EVAL{true},
labelOptions, #ARRAY{
before, #GET{titre_avant},
after, #GET{titre_apres}
}
}}}
]
#SET{options, #GET{options}|non|?{"", #GET{options}|json_encode}}
[(#GET{image_avant}|et{#GET{image_apres}}|oui)
#GET{image_avant}
#GET{image_apres}
]