{namespace v=FluidTYPO3\Vhs\ViewHelpers}
{namespace ot=Opentalent\OtTemplating\ViewHelpers}

<f:comment><!--
    -- Resources.fal ViewHelper --
    Voir: https://fluidtypo3.org/viewhelpers/vhs/master/Page/Resources/FalViewHelper.html
--></f:comment>

<ot:carousel.images as="images"
                    limit="5"
                    countAs="count">
    <f:if condition="{count} > 0">
        <div class="carousel">
            <f:for each="{images}" as="image">
                <div>
                    <ot:imageP src="{image.url}"
                             alt="{image.alternative}"
                             title="{image.title}"
                             class="carousel-img"
                             height="500c"
                    />
                </div>
            </f:for>
        </div>
    </f:if>
</ot:carousel.images>

