This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
typo3_cropping_tool [2018/10/18 09:03] – created 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> | ||
+ | $GLOBALS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ], | ||
+ | ' | ||
+ | [ | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ] | ||
+ | ], | ||
+ | ' | ||
+ | '21 : 1' => [ | ||
+ | ' | ||
+ | ' | ||
+ | ] | ||
+ | ] | ||
+ | ], | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | [ | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ] | ||
+ | ], | ||
+ | ' | ||
+ | '21 : 1' => [ | ||
+ | ' | ||
+ | ' | ||
+ | ] | ||
+ | ] | ||
+ | ], | ||
+ | ]; | ||
+ | </ | ||