Linux 软件免费装
Banner图

YourImageShare Media Offload

开发者 razvanccyis
更新时间 2026年10月9日 21:22
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

storage image hosting video hosting media offload

下载

1.3.0

详情介绍:

Shared hosting storage quotas fill up fast once a site has a few years of blog images and video. This plugin sends Media Library uploads to YourImageShare - a free, no-account-required image and video host - and deletes the local copy once the upload succeeds, so your storage usage stops growing. Everything keeps working normally: the block editor, Add Media, featured images, galleries. There's no shortcode to remember and no separate upload step - you use WordPress exactly like you always have, media just lives on YourImageShare's servers instead of your own disk. What it does What it intentionally doesn't do YourImageShare keeps two versions of each image - the full file and a 280 px thumbnail - rather than every size your theme registers. Offloaded images get a two-step srcset (thumbnail and full size) instead of WordPress's usual list of sizes, and image sizes wider than 280 px are served from the full file. Hard-cropped sizes (such as a square thumbnail) keep the image's own proportions. Free API key required You'll need a free YourImageShare account and an Upload-only API key (this plugin's settings page links straight to it). No account is required to use YourImageShare itself, but an account is what gives you an API key.

安装:

  1. Install and activate the plugin.
  2. Create a free account at yourimageshare.com, open My Account > API, and copy the Upload-only key.
  3. Go to Media Offload in the admin menu, paste the key in, and save.
  4. Upload an image or video to your Media Library as usual - it now offloads automatically.
  5. Optional: use the Offload existing media button on the same page to offload everything already in your library.

屏幕截图:

  • Bulk-offload progress for an existing Media Library.
  • Media Library list view showing offload status per file.

升级注意事项:

1.3.0 Thumbnails and srcset from YourImageShare, background bulk offload, WP-CLI commands and files up to 200 MB. Offloaded files are stored as private (no public page). 1.2.0 Fixes offloaded images over 1 MB breaking after YourImageShare converts them to WebP. Recommended for everyone.

常见问题:

Does this work with the block editor?

Yes. Offloaded media resolves through WordPress's normal attachment functions, so it works anywhere an attachment is used: the block editor, Add Media, featured images, galleries, REST API responses.

What happens to images I uploaded before installing this plugin?

They're left alone until you choose to offload them. Use the Offload existing media button on the plugin's settings page to process your whole existing library in the background (WP-Cron), respecting the API's rate limits - you can close the page while it runs. On the command line, wp yis offload --all does the same. New uploads offload automatically either way.

How many files can I offload per day?

The Upload-only key allows 2,000 uploads a day and 20 a minute. The background run pauses by itself when a limit is reached and continues when it resets.

Can I get a file back if I change my mind?

Yes. Every offloaded file has a Restore to local action (Media Library row actions, or the attachment details panel) that downloads it back to your server and clears the offload status - WordPress treats it as a completely normal local attachment again afterward.

Is my upload key safe to store here?

The settings page asks for your Upload-only key specifically, not your main API key - it can only upload on your behalf, never list or delete your account's uploads. The optional full API key (only needed if you turn on remote deletion, or choose to delete a remote copy while restoring) has more access, so only add that one if you actually want that behavior.

What if the upload to YourImageShare fails?

The local file is left exactly as WordPress created it - nothing is deleted unless the remote upload is confirmed successful first. Failures show up as a dismissible notice on the Media Library and plugin settings screens with the reason, rather than failing silently.

更新日志:

1.3.0 1.2.0 1.1.0 1.0.0