Loading...
Skip navigation
Please note that this documentation is for the most recent version of this extension. It may not be relevant for older versions. Related documentation can be found in the documentation directory of the extension.

Handle preview images

Put a check in the checkbox "Show in preview" (preview) to decide whether product images should be used in the list or in teasers, for example. This can be one or more images. The following variables can then be used in fluid:

  • {product.imagesPreviewOnly} - Returns all images marked as "Show in preview" (preview)
  • {product.imagesNonPreview} - Returns all images not marked as "Show in preview" (preview)

How to use:

<f:for each="{product.imagesPreviewOnly}" as="image" iteration="imageIteration">
    <f:if condition="{imageIteration.isFirst}">
        <f:then>
            <f:image src="{image.uid}" treatIdAsReference="1" class="first"
                     width="{settings.list.image.width}" height="{settings.list.image.height}"
                     alt="{product.title}" title="{product.title}" />
        </f:then>
        <f:else>
            <f:image src="{image.uid}" treatIdAsReference="1" class="non-first"
                     width="{settings.list.image.width}" height="{settings.list.image.height}"
                     alt="{product.title}" title="{product.title}" />
        </f:else>
    </f:if>
</f:for >

Feature icons

You can do the same thing with feature icons:

  • {product.featureIconsPreviewOnly} - Returns all images marked as "Show in preview" (preview)
  • {product.featureIconsNonPreview} - Returns all images not marked as "Show in preview" (preview)

Contact request

You can contact us at any time

Stop! Playing in the meantime?
Stop! Playing in the meantime?
Stop! Playing in the meantime?

Stop! Playing in the meantime?

Break the highscore

Press Start
Contact request
Screenreader label
Security question
2HP__________A_______
4______G____KW____GSW
44M___2G3____F_______
__G____I_____F____4SC
GZZ_________GLD______

🎄 Bereits für's Weihnachtsmarketing?! 🎉

Entdecke den interaktiven Online-Adventskalender – perfekt für Websites, Shops und Kampagnen.

Gewinnspiele, Quiz, Gutscheine & mehr – alles, was Dein Weihnachtsmarketing braucht.

Für TYPO3-Websites Für andere Systeme