{namespace v=FluidTYPO3\Vhs\ViewHelpers}

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

<div class="carousel">
    <v:page.resources.fal table="pages"
                          field="media"
                          uid="{page.uid}"
                          as="images"
                          slide="-1"
                          limit="10"  >

        <f:for each="{images}" as="image">
            <div>
                <f:image src="{image.url}"
                         alt="{image.alternative}"
                         title="{image.title}"
                         class="carousel-img"
                         width="1170c"
                         height="380c"
                />
            </div>
        </f:for>

    </v:page.resources.fal>
</div>
