[buddypress-trac] [BuddyPress Trac] #6650: Optimizing Media with the Attachment Library

buddypress-trac noreply at wordpress.org
Sat Oct 10 12:23:07 UTC 2015


#6650: Optimizing Media with the Attachment Library
-------------------------------------+------------------------------
 Reporter:  edfullman1               |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Component - Attachments  |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  reporter-feedback        |
-------------------------------------+------------------------------

Comment (by imath):

 Ok i think i begin to understand the problem better. Just did a plugin
 search and found this file:
 https://plugins.trac.wordpress.org/browser/amazon-s3-and-
 cloudfront/trunk/classes/amazon-s3-and-cloudfront.php

 I see the plugin is not filtering `wp_upload_dir()` but instead it's :
 - filtering `wp_get_attachment_url` to use the amazon url to the file
 - filtering `wp_update_attachment_metadata` to copy the file to amazon and
 i guess edit the metadata and then eventually remove the local file.

 I'll try to look for another plugins like this one to have a better idea
 about how they manage uploads and if they all do the same.

 On the other hand, we could also consider plugins can add feature to
 handle how BuddyPress is managing avatars and cover images.

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


More information about the buddypress-trac mailing list