WordPress Amazon S3 Plugin

WordPress Amazon S3 Plugin

WP-S3 copies media files used in your blog post to Amazon S3 cloud. Uses only filters to replace the media urls in the post if media is available in t …

  • Frequently updated
    Very good! This plugin is actively maintained and the last update was released 456 days ago.
  • This plugin is tested with the last major release of WordPress
    Content for list item
  • Compatible with the latest major PHP release
    This plugin requieres PHP 5.6 or higher. The latest stable PHP 8.3.8 was released on 06 June 2024
  • No unfixed plugin vulnerabilities
    Content for list item

Ratings

0

Active installs

10

Total Downloads

11K

Support Threads

0

Last updated

17 March 2023

Added

20 June 2010

Versions

100%
  • Version 1.6

Screenshots

Plugin Options page

About WordPress Amazon S3 Plugin

FAQ

No. This plugin does not change any content in your blog. All modification are done using WordPress plugin filters on the fly.

Not needed. You have to just upload the files

No. You cannot manage the files in Amazon S3 using this plugin.

The plugin will change the upload path prefix and clears all local upload que and cached media files. All the local media files are uploaded again. Please note the files already uploaded by this plugin in S3 has to be deleted manually. Please don’t clear cache often, use only there is a plugin update / WordPress update.

For fonts to work properly you need to make sure CORS is updated properly in your Amazon bucket.

Not needed. You have to just upload the files

No. You cannot manage the files in Amazon S3 using this plugin.

The plugin will change the upload path prefix and clears all local upload que and cached media files. All the local media files are uploaded again. Please note the files already uploaded by this plugin in S3 has to be deleted manually. Please don’t clear cache often, use only there is a plugin update / WordPress update.

For fonts to work properly you need to make sure CORS is updated properly in your Amazon bucket.

No. You cannot manage the files in Amazon S3 using this plugin.

The plugin will change the upload path prefix and clears all local upload que and cached media files. All the local media files are uploaded again. Please note the files already uploaded by this plugin in S3 has to be deleted manually. Please don’t clear cache often, use only there is a plugin update / WordPress update.

For fonts to work properly you need to make sure CORS is updated properly in your Amazon bucket.

The plugin will change the upload path prefix and clears all local upload que and cached media files. All the local media files are uploaded again. Please note the files already uploaded by this plugin in S3 has to be deleted manually. Please don’t clear cache often, use only there is a plugin update / WordPress update.

For fonts to work properly you need to make sure CORS is updated properly in your Amazon bucket.

For fonts to work properly you need to make sure CORS is updated properly in your Amazon bucket.

Changelog

Version: 1.6 Dated: 2023-03-17

Version: 1.5 Dated: 2018-04-06

Version: 1.4 Dated: 2018-04-06

Version: 1.3 Dated: 2014-04-25

Version: 1.2 Dated: 2013-08-20

Version: 1.1 Dated: 2013-08-20

Version: 1.0 Dated: 20-June-2010

How to install WordPress Amazon S3 Plugin

  1. Copy plugin files to WordPress wp-content/plugins folder
  2. Make sure you create a folder named ‘s3temp’ in your media upload folder and make it writable.
  3. Activate the plugin
  4. Go to Amazon s3 page under plugins and set up your Amazon S3 credentials
  5. This plugin will not create any S3 buckets. You have to create the bucket with public read access and use the same
  6. The plugin will not work until all the configs are completed
  7. If anything goes wrong just de-active the plugin and blog should go back to its old state

Theme & Plugin Developers can use these examples to make their theme / plugin assets load from CDN

To scan a full HTML Block for images, upload to CDN and replace them if uploaded.

<?php
if(class_exists('S3Plugin')){
    $output = S3Plugin::scanForImages($output);
}
?>

To check if a single media needs to be uploaded to CDN and replaced if uploaded.

<?php
if(is_singular()){
    $attachmentDetails = &get_children( "numberposts=1&post_type=attachment&post_mime_type=image&post_parent=" . get_the_ID() );
    if(!empty ($attachmentDetails)){
        $attachmentDetails = array_shift($attachmentDetails);
        $postImage = array_shift(wp_get_attachment_image_src($attachmentDetails->ID,'thumbnail'));
        if(class_exists('S3Plugin')){
            $cdnImageURL = S3Plugin::getCDNURL($postImage);
            if($cdnImageURL!==FALSE){
                $postImage = $cdnImageURL;
            }
        }
    }
}
?>