Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (18 sloc) 952 Bytes

Troubleshooting

Upgrading

See the changelog for upgrade notes

Debug CMS field

Use this YML configuration to reveal fields for FocusX and FocusY in the CMS:

FocusPointField:
  debug: true

Debug front-end image

Add .DebugFocusPoint to the end of an image object in your template to output html markup showing you the focuspoint of the image.

$MyImage.ScaleWidth(200).DebugFocusPoint

The FocusPoint field in the CMS appears broken

Did you run a dev/build after module installation?

Focus point has been changed but image has not updated

As a cache-busting mechanism this module includes approximate focus point coordinates in generated filenames. This means that if the focus point is updating correctly in the CMS but you're not seeing images change on your website, it's likely that you're viewing cached HTML output and need to invalidate that to see the updated image.

You can’t perform that action at this time.