Hi,

Focal Point module offers a setting to calculate initial focal point using Smartcrop module.

This works great for fields which use the 'Image' widget.

However, I noticed this setting is not honoured when you add or edit an image by means of the Media browser widget.

The initial focal point is always the default 50, 50.

Comments

bmunslow created an issue. See original summary.

bmunslow’s picture

Please find attached patch that fixes this issue.

All it does is make sure a default value is calculated through the _focal_point_guess_default function.

  • bleen committed c5cdf56 on 7.x-1.x authored by bmunslow
    Issue #2832020 by bmunslow: Intial focal point setting not calculated...
bleen’s picture

...for future reference, please make sure you create patches from the root of the module, not the root of your site.

Other than that, this (also) looks good to me so I'm committing.

Thanks!

bleen’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.