Skip to:
Content

Opened 9 years ago

Closed 9 years ago

#1054 closed defect (bug) (fixed)

Wrong avatar preview when sizes changed

Reported by: johnjamesjacoby Owned by: johnjamesjacoby
Milestone: 1.1 Priority: major
Severity: Version:
Component: Keywords: has-patch
Cc:

Description

When changing the BP_AVATAR_FULL_HEIGHT or BP_AVATAR_FULL_WIDTH constants, the cropper preview does not show an accurate crop.

Attachments (1)

avatar-cropper-preview-size-fix.patch (582 bytes) - added by johnjamesjacoby 9 years ago.

Download all attachments as: .zip

Change History (4)

#1 @mariusooms
9 years ago

Hi jjj...I actually added a patch a while back for this that does the same, but also added a minsize so people can't crop smaller resulting in a very pixelated avatar. The setselect also honors constants in this patch. Please review if classifies as duplicate.

http://trac.buddypress.org/attachment/ticket/972/enhance_honering_aspect_ratio.patch

#2 @apeatling
9 years ago

Using jjj's patch for now since I'm uncomfortable setting a min size so close to 1.1. Min size caused a few problems with the old cropper. I'll address #972 in 1.2.

#3 @apeatling
9 years ago

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

(In [1912]) Fixes #1054 props jjj

Note: See TracTickets for help on using tickets.