Hi

I am wondering how I can get the Focal Point functionality for the User Picture field (which seems to be a "hardcoded" field for users).

That is, ideally, on the page where you choose which fields to enable Focal Point for (admin/config/media/focal_point), I would like to have the option to choose/check "User Picture field"

Any tips will be greatly appreciated

Comments

Omkara created an issue.

bleen’s picture

Not sure. If the user image field is not a "real" field then you may want to consider adding a new image field to your user entity and use that instead. If you're really set on getting focal point working for the default user image...

...patches welcome :)

Omkara’s picture

Thanx for the reply

Not sure what defines a "real field" in this context. The out of-the-box image field for the user profile is of field type "User Picture" (when you check the fields here: admin/config/people/accounts/fields) and can't be changed or deleted, so I in that sense I guess it's "real" ... however, it is not listed in the field_config table (it has it's own 'picture' column in the users table with foreign key: file_managed.fid) so in that sense I guess it's not "real".

Anyhow, I guess that the short answer is that 'no', you can't have focal point for the default user picture field (at least not yet).

As for patches ... I'll see if I can have a go at it but I'm currently on a deadline and was just looking for a fix to a problem

Yours

Omkara