[buddypress-trac] [BuddyPress Trac] #8602: Avatar uploads on smartphones/small mobile devices issue
buddypress-trac
noreply at wordpress.org
Tue Nov 30 10:46:23 UTC 2021
#8602: Avatar uploads on smartphones/small mobile devices issue
--------------------------+-----------------------------
Reporter: niftythree | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Core | Version: 9.1.1
Severity: normal | Keywords:
--------------------------+-----------------------------
Hello,
There’s an ongoing issue with avatar uploads on smartphones. Uploads from
a mobile device in portrait mode are blurry when cropped, and user’s get
an incorrect message (for example, “You have selected an image that is
smaller than recommended. For best results, upload a picture larger than
350 x 400 pixels”) upon selecting/uploading a file.
It seems that the larger the {{{BP_AVATAR_FULL_WIDTH}}} and
{{{BP_AVATAR_FULL_HEIGHT}}} are set to, the larger the portrait screen
size (width) has to be for the message/blurry photo cropping to not occur
on smartphones. It seems to be OK when the phone is rotated to landscape
orientation.
For example, when using the following setup and a default theme, the
message appears, and the cropped photo will be blurry on a smartphone in
portrait mode, but not in landscape mode:
{{{
define( 'BP_AVATAR_THUMB_WIDTH', 280 );
define( 'BP_AVATAR_THUMB_HEIGHT', 320 );
define( 'BP_AVATAR_FULL_WIDTH', 350 );
define( 'BP_AVATAR_FULL_HEIGHT', 400 );
define( 'BP_AVATAR_ORIGINAL_MAX_WIDTH', 999 );
}}}
This is similar to trac ticket number
[https://buddypress.trac.wordpress.org/ticket/8598 8598], but the above
issue relates to smartphones/smaller mobile devices, and is unresolved.
We'd be really grateful if someone can look into this.
Thanks.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8602>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list