[buddypress-trac] [BuddyPress Trac] #8602: Avatar uploads on smartphones/small mobile devices issue

buddypress-trac noreply at wordpress.org
Thu May 16 10:46:14 UTC 2024


#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        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by preckalere):

 Hi,

 I’ve noticed an ongoing issue with avatar uploads on smartphones. When
 uploading from a mobile device in portrait mode, the images appear blurry
 when cropped, and users receive an incorrect message about the image size
 being too small. This issue seems related to the `BP_AVATAR_FULL_WIDTH`
 and `BP_AVATAR_FULL_HEIGHT` settings. The problem does not occur when the
 phone is in landscape mode.

 Could you provide guidance on resolving this issue so that avatar uploads
 work correctly on smartphones in both portrait and landscape modes? For
 reference, here is the current setup:

 {{{
 ```
 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 );
 ```
 }}}


 Thank you!

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8602#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list