Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (9 sloc) 415 Bytes

Basic usage

In the CMS

When you edit an image in the CMS there should be an extra 'Focus Point' field. Click on the subject of the image to set the focus area and save the image.

In templates and PHP

Use just like existing cropping functions but swap out the names:

  • $Fill --> $FocusFill
  • $FillMax --> $FocusFillMax
  • $CropWidth --> $FocusCropWidth
  • $CropHeight --> $FocusCropHeight
You can’t perform that action at this time.