[buddypress-trac] [BuddyPress Trac] #6586: New avatar uploader on mobile Safari broken
buddypress-trac
noreply at wordpress.org
Wed Oct 7 16:47:14 UTC 2015
#6586: New avatar uploader on mobile Safari broken
------------------------------+---------------------
Reporter: modemlooper | Owner: imath
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 2.4
Component: API - Avatars | Version: 2.3.0
Severity: normal | Resolution: fixed
Keywords: has-patch commit |
------------------------------+---------------------
Changes (by imath):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"10206"]:
{{{
#!CommitTicketReference repository="" revision="10206"
Avatar UI: make sure to display the full content of the image during the
cropping step.
When a user uploads an image to set his avatar, we are saving a temporary
version of it resized using the `bp_core_avatar_original_max_width()`
dimension (by default 450px). This resized image will be output to the
user so that he can edit it during the cropping step. Once the avatar is
saved, we are deleting this temporary image.
Sometimes, the Avatar UI width is smaller than this resized version of the
image and as a result the image is truncated on its right side (this
mainly happens on mobile devices). To avoid this, the Avatar UI is now
informing about its available width and if it is smaller than
`bp_core_avatar_original_max_width()`. This available width will be used
to generate the tempory image so that the full content of the image will
be displayed to the user when cropping his avatar.
Fixes #6586
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6586#comment:11>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list