Linux 软件免费装
Banner图

Smart Auto Upload Images - Import External Images

开发者 burhandodhy
更新时间 2026年10月26日 14:44
PHP版本: 8.0 及以上
WordPress版本: 7.1
版权: GPL v2 or later
版权网址: 版权信息

标签

seo media-library auto-upload external-images import-images

下载

1.2.4 1.3.0 1.2.2 1.2.1 1.2.3 1.2.0 1.1.0 1.0.0 1.1.1

详情介绍:

Smart Auto Upload Images imports external images from your post content into the WordPress Media Library when you save or update a post. It replaces the original image URLs with local URLs, helping you keep a copy of the images your content depends on. Automatic image imports Settings for your workflow Import history and recovery — new in 1.3.0 Open Settings → Smart Auto Upload Images → History to review recent successful post-content imports. Each entry shows the post, import time, image count, and original and imported URLs. Select Restore original URLs to replace imported URLs that are still present in that post. Recovery preserves other post edits and keeps imported files in the Media Library. The Settings and History tabs have separate URLs, so you can bookmark a tab and use browser Back and Forward. Filename and alt text patterns Use variables such as: For example, use %post_name%-%filename% for filenames or %image_alt% - %post_title% for alt text. The settings sidebar lists available variables. Exclude external domains In Settings → Smart Auto Upload Images → Settings, open Exclusions and enter one hostname or URL per line, such as cdn.example.com or https://cdn.example.com. Hostnames match without case sensitivity; add subdomains separately when needed. Compatibility and limits Images must be publicly accessible and pass WordPress URL and file validation. Importing many or large images can increase post save time and consume disk space. Maximum dimensions control resizing, not download size. Page builders are supported when they store image markup in post content. Images stored only in custom fields, CSS backgrounds, or other separate builder data are not guaranteed to be imported. There is no dedicated bulk import screen; existing content is processed when its posts are saved. Only import images you have permission to use. The plugin contacts the image hosts referenced in your content to download files.

安装:

  1. Install and activate Smart Auto Upload Images from Plugins → Add New, or upload the plugin ZIP using Upload Plugin.
  2. Open Settings → Smart Auto Upload Images and configure the Settings tab.
  3. Save a post containing an external image and check the Media Library for the imported file.
  4. Open the History tab to review the import or restore its original URLs.
Requires WordPress 6.2 or later and PHP 8.0 or later. Your server must be able to download public images and write to the WordPress uploads directory.

升级注意事项:

1.3.0 Adds import history and URL recovery, separate Settings and History tabs, and safer image-download redirects. History starts with new imports after updating. 1.2.1 Fixed vulnerability.

常见问题:

Does this work with Gutenberg and page builders?

Yes, when images are stored as img tags in post content. This includes Classic Editor and block content. Page builders such as Elementor may store images in custom fields or separate data that the plugin cannot process.

Does this work with WooCommerce products?

Yes, for image markup in product descriptions. Ensure the product post type is not excluded. Product galleries stored separately are not automatically imported.

What image formats are supported?

Common formats include JPEG, PNG, GIF, and WebP, subject to WordPress file validation and the image processing support available on your server.

Can I bulk import images from existing posts?

There is no dedicated bulk import screen. Existing posts are processed when saved normally. Test any bulk-update workflow on a small set of posts first.

Can I exclude specific domains from import?

Yes. Open Exclusions in Settings and enter one hostname or URL per line, such as cdn.example.com or https://cdn.example.com. Add subdomains separately.

Will this slow down my post save process?

Imports run during post save. Save time depends on image count, file sizes, remote server response time, and your hosting resources.

How do I prevent duplicate imports?

An upload is reused when the generated filename and downloaded contents match. Changed files or naming patterns can create separate imports.

Why are my images not importing?

Check domain and post type exclusions, public image access, and uploads-directory permissions. WordPress URL checks can also reject unsafe URLs or redirects. Review the debug log for details.

How can I debug why an image is not saving?

  1. Open the original image URL in a private browser window. It must load without logging in; your server must also be able to download it.
  2. Check the domain and post type exclusions in the Settings tab, and confirm the image appears in the post content as an img tag.
  3. Confirm that WordPress can write to wp-content/uploads and that your server has enough disk space and image processing support.
  4. In wp-config.php, enable WP_DEBUG and WP_DEBUG_LOG, and keep WP_DEBUG_DISPLAY disabled. Update existing definitions rather than adding duplicates.
  5. Save the affected post again, then check wp-content/debug.log for entries beginning with [Smart Auto Upload Images]. If WP_DEBUG_LOG uses a custom file path, check that file instead. Download failures, HTTP errors, and invalid image messages help identify the cause.
Disable debugging when finished. If you need support, include the relevant error message, your WordPress and PHP versions, and the steps to reproduce the problem.

Can I undo an image import?

Yes. In History, select Restore original URLs. Only recorded imported URLs still present in the post are restored; imported files remain in the Media Library. History starts with imports made after updating to 1.3.0.

Why did restored URLs get imported again?

Recovery skips importing during its own request. A normal post save runs imports again. Exclude the source domain or post type if you want those URLs to remain external.

更新日志:

1.3.0 - 2026-10-25 Added: Fixed: 1.2.4 - 2026-08-17 Added: 1.2.3 - 2026-01-31 Fixed: 1.2.2 - 2026-01-10 Added: Fixed: 1.2.1 - 2025-11-01 Fixed: 1.2.0 - 2025-09-28 Added: Fixed: 1.1.1 - 2025-09-06 Fixed: 1.1.0 - 2025-09-06 Added: Changed: Fixed: 1.0.0