Skip to content

A WordPress plugin that provides helpers for fetching images from a production server.

License

Notifications You must be signed in to change notification settings

ebinnion/Uploads-From-Production

Repository files navigation

Uploads from Production

This plugin is meant to provide utilities for fetching and proxying images from a production server when working locally.

Currently, proxying images is implemented and it works by activating the plugin and then setting the UPLOADS_FROM_PRODUCTION_PROXY_URL constant in wp-config.php. For example:

define( 'UPLOADS_FROM_PRODUCTION_PROXY_URL', 'https://eric.blog' );

When this constant is present, this plugin attempts to overwrite the image URLs from attachments.

Future Work

  • A WP-CLI command that will import image from the primary image from the production server and then process thumbnails locally.

About

A WordPress plugin that provides helpers for fetching images from a production server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages