{% set big_image_alias, items_count = "gallery", valid_items|length %}
{# "Big" picture window #}
{# We only need to have the 1st element to be rendered to get the base markup #}
{{ render(
controller(
"ez_content:viewLocation",
{
"locationId": valid_items[0].locationId,
"viewType": "gallery_viewer",
"params": {"image_alias": big_image_alias, "total_items": items_count}
}
)
) }}