[buddypress-trac] [BuddyPress] #3364: Alignment in profile stream

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sun Jul 24 14:19:35 UTC 2011


#3364: Alignment in profile stream
--------------------+------------------
 Reporter:  xeqta   |       Owner:
     Type:  defect  |      Status:  new
 Priority:  normal  |   Milestone:  1.3
Component:  Theme   |     Version:
 Severity:  normal  |  Resolution:
 Keywords:          |
--------------------+------------------

Comment (by boonebgorges):

 When avatars are uploaded, BP uses the avatar constants to help build the
 jQuery cropper, and then to store separate -bpfull and -bpthumb version of
 the avatar. So while the avatars may be a bit odd, and perhaps
 unnecessary, for avatar *display*, they are necessary for avatar
 *creation*.

 Your addition of 'tiny' constants makes the code more readable, and it
 provides a nice shorthand for the tiny avatar 'type', but it does not have
 its own dedicated -bptiny avatar file. My impression is that it doesn't
 really need one, since the size difference between tiny and thumb is
 pretty insignificant for the purposes of resizing and data payload. Second
 question: if we decide not to have a separate -bptiny avatar stored, do we
 mind that there is now an asymmetry between the 'full' and 'thumb' avatar
 types and the 'tiny' type? (I don't think it's really problematic, but it
 should probably be recognized.)

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3364#comment:11>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list