I have created a custom user profile using the Profile2 module. This profile has an image field with the crop widget assigned to it.

When I upload the photo, I get this error:

Notice: Undefined index: field_foto in imagefield_crop_widget_process() (line 187 of C:\wamp\www\working\sites\all\modules\imagefield_crop\imagefield_crop.module).
Notice: Undefined offset: 1 in imagefield_crop_widget_process() (line 221 of C:\wamp\www\working\sites\all\modules\imagefield_crop\imagefield_crop.module).
Notice: Undefined offset: 1 in imagefield_crop_widget_process() (line 222 of C:\wamp\www\working\sites\all\modules\imagefield_crop\imagefield_crop.module).

The error goes away on reload BUT the cropping does not function:

1) it doesn't keep the crop box ratio
2) the resolution of the cropping area is not the specified one
3) it doesn't crop the image

Comments

vonderro’s picture

I've got exactly the same problem. The module does not integrate with image cropping. Please post a solution to this problem here!

Sandhya’s picture

I have got the same issue. Plese suggest a solution

fago’s picture

Status: Active » Postponed

just as for #1036722: Link always display (and ask for) the title when used with profile2 that's probably a bug of the imagefield not being able to cope with embedded forms. Look for an issue in the core queue or file one one if there is none yet + link it here.

Let's leave this issue in this queue though, until it has been fixed. So people can find it.

daemonsy’s picture

Subscribe

Blue’s picture

The problem is still there in 7.12.

pwaterz’s picture

Status: Postponed » Closed (duplicate)

this is a duplicate of http://drupal.org/node/1358474. I have uploaded a patch there.