Skip to:
Content

BuddyPress.org

Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#244 closed defect (bug) (fixed)

Cropping via the "Change Avatar" Screen causes cropping area jumping

Reported by: apeatling's profile apeatling Owned by:
Milestone: Priority: major
Severity: Version:
Component: Keywords:
Cc:

Description

It seems as though the offset is wrong, as when you drag from the bottom right to past the top left, the area starts to resize correctly.

I've tried to debug this, set containers to position:relative but it doesn't seem to fix the problem.

The cropping for uploading new avatars on signup works correctly.

Change History (4)

#1 @apeatling
16 years ago

  • Milestone set to Core 1.0

#2 @apeatling
16 years ago

So this is something to do with the position of the image from the left hand side. The offset is not being calculated correctly, taking into account the amount of pixels from the left the image is offset.

If you turn off the CSS and the image is return flush to the left hand side of the browser window, the cropping works correctly.

#3 @apeatling
16 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Fixed, used a negative margin and positive padding on the cropper image to offset the difference.

#4 @(none)
15 years ago

  • Milestone Core 1.0 deleted

Milestone Core 1.0 deleted

Note: See TracTickets for help on using tickets.