User Tools

Site Tools


fluid

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revisionBoth sides next revision
fluid [2016/05/16 16:31] – created adminfluid [2016/05/16 16:55] admin
Line 1: Line 1:
 ====== FLUID ViewHelpers ====== ====== FLUID ViewHelpers ======
  
 +===== Image =====
 +
 +Include ViewHelpers in HTML Template
 +
 +  {namespace m=TYPO3\Media\ViewHelpers}
 +
 +Use ViewHelper in Template:
 +
 +  <img data-interchange="[{m:uri.image(image:"{blogEntry.image1}", maximumWidth: 500)}, small], [{m:uri.image(image:"{blogEntry.image1}", maximumWidth: 500)}, medium], [{m:uri.image(image:"{blogEntry.image1}", maximumWidth: 500)}, large]" />