Guest User

Untitled

a guest
Mar 19th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. {namespace dce=ArminVieweg\Dce\ViewHelpers}
  2. <f:layout name="Default" />
  3. <f:section name="main">
  4. <f:for each="{dce:fal(field:'images', contentObject:contentObject)}" as="image">
  5. <!-- This is the normal unresponsive way -->
  6. <f:image image="{image}" />
  7.  
  8. <!-- Here we referer to typoscript to render the responsive image -->
  9. <f:cObject typoscriptObjectPath="lib.responsiveImage" data="{image.uid}"></f:cObject>
  10. </f:for>
  11. </f:section>
Add Comment
Please, Sign In to add comment