[buddypress-trac] [BuddyPress Trac] #6586: New avatar uploader on mobile Safari broken

buddypress-trac noreply at wordpress.org
Wed Aug 12 13:06:19 UTC 2015

#6586: New avatar uploader on mobile Safari broken
 Reporter:  modemlooper          |       Owner:  imath
     Type:  defect (bug)         |      Status:  assigned
 Priority:  normal               |   Milestone:  Awaiting Review
Component:  Component - Members  |     Version:  2.3.2
 Severity:  normal               |  Resolution:
 Keywords:  has-patch            |
Changes (by imath):

 * keywords:  needs-testing => has-patch


 Replying to [comment:1 modemlooper]:
 > only images from library work

 For me when taking an image using the camera does not crash at all !! See
 this screen capture :


 > image taken in landscape has issue
 I'd say it depends if you are using your phone in landscape mode to set
 your avatar, because in this case, there's no issue: see previous screen
 capture and following one with the image you added on this ticket:


 There's only a problem when using the portrait mode to set an avatar, in
 this case the image is "cut off" on the right side.


 So i've read your advices about this ticket #4859 (using a max width set
 to 280px). So i guess we could use this size in case of `wp_is_mobile()`
 and that's what i've done in 6586.patch, so in portrait mode we get:


 But then, in landscape mode, we have a big white space on the right...


 So i think 6586.patch would solve the problem for this ticket and #4859.
 But i also think we could improve it by having two images at our disposal
 and choose within avatar.js which one to use depending on the available
 width of the browser. I'll keep on working on it soon.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6586#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list