내가 무시 cropVariants와 TYPO3 8.7에 반응하는 이미지 자르기 옵션을 렌더링 :TYPO3 - 같은 이미지 처리를위한 유체
을하지만 어떻게 내가 유체의 특정 cropVariant에 따라 FIRST 이미지를 렌더링 할 수 있습니까? @media (최대 너비 : 575 픽셀) {} ...에 '모바일'이라고 말하시겠습니까?
<f:debug>{data}</f:debug>
array(85 items)
...
media => array(1 item)
0 => TYPO3\CMS\Core\Resource\FileReferenceprototypeobject
propertiesOfFileReference => protectedarray(35 items)
...
crop => '{"desktop":{"cropArea":{"x":0.011,"y":0,"width":0.924,"height":0.99047619047
619},"selectedRatio":"NaN","focusArea":null},"mobile":{"cropArea":{"x":0.094,"y":1.917337540
94e-15,"width":0.786,"height":0.99809523809524},"selectedRatio":"3:2","focus
Area":null}}' (392 chars)
...
Dokumentation : https://docs.typo3.org/typo3 cms/ExtbaseGuide/Fluid/ViewHelper/Image.html # cropvariant –