Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Mar 19th, 2018 61 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  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>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top