[buddypress-trac] [BuddyPress Trac] #6278: Attachment Library

buddypress-trac noreply at wordpress.org
Sun Mar 15 13:10:56 UTC 2015


#6278: Attachment Library
------------------------------------+------------------
 Reporter:  imath                   |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  2.3
Component:  API                     |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------

Comment (by henry.wright):

 @johnjamesjacoby

 Thinking ahead, should the {{{/avatar/}}} directory name be changed to
 {{{/attachments/}}}? If each member has their own subfolder within that
 directory then it could serve as a dumping ground for all sorts of files
 that don't fit nicely into the WP Media Library (avatars being one
 example).

 So the current dir structure of:
 {{{
 /uploads/avatars/1/filename.jpg
 /uploads/avatars/1/filename2.jpg
 /uploads/avatars/3/filename.jpg
 /uploads/avatars/3/filename2.jpg
 }}}
 becomes
 {{{
 /uploads/attachments/1/filename.jpg
 /uploads/attachments/1/filename2.jpg
 /uploads/attachments/3/filename.jpg
 /uploads/attachments/3/filename2.jpg
 }}}

 On multisite the current structure is:

 {{{
 /uploads/sites/1/avatars/1/filename.jpg
 /uploads/sites/1/avatars/1/filename2.jpg
 /uploads/sites/1/avatars/3/filename.jpg
 /uploads/sites/1/avatars/3/filename2.jpg
 }}}
 which becomes
 {{{
 /uploads/sites/1/attachments/1/filename.jpg
 /uploads/sites/1/attachments/1/filename2.jpg
 /uploads/sites/1/attachments/3/filename.jpg
 /uploads/sites/1/attachments/3/filename2.jpg
 }}}

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


More information about the buddypress-trac mailing list