This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
typo3_cropping_tool [2018/10/18 09:57] – admin | typo3_cropping_tool [2018/10/18 13:15] (current) – admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== TYPO3 Cropping Tool ====== | ====== TYPO3 Cropping Tool ====== | ||
+ | This covers: | ||
+ | |||
+ | * Cropping images for each breakpoint | ||
+ | * Cover area for each breakpoint | ||
+ | * Focus area/point for each breakpoint | ||
+ | |||
+ | |||
+ | {{ : | ||
+ | |||
+ | ===== Simple cropping ===== | ||
+ | |||
+ | Override TCA using '' | ||
+ | |||
+ | To change cropping do the following: | ||
+ | |||
+ | < | ||
+ | $GLOBALS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | '21 : 1' => [ | ||
+ | ' | ||
+ | ' | ||
+ | ] | ||
+ | ] | ||
+ | ], | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | '21 : 1' => [ | ||
+ | ' | ||
+ | ' | ||
+ | ] | ||
+ | ] | ||
+ | ], | ||
+ | .... and so on ... | ||
+ | |||
+ | ]; | ||
+ | </ | ||
+ | |||
+ | Complete example with '' | ||
<code php> | <code php> | ||
Line 6: | Line 47: | ||
' | ' | ||
' | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ], | ||
' | ' | ||
[ | [ | ||
Line 40: | Line 87: | ||
]; | ]; | ||
</ | </ | ||
+ |