| 开发者 | burhandodhy |
|---|---|
| 更新时间 | 2026年10月26日 14:44 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPL v2 or later |
| 版权网址: | 版权信息 |
img tags, including src and srcset.%filename% — original filename without its extension.%image_alt% and %image_title% — original image attributes.%post_title% and %post_name% — post title and slug.%year%, %month%, %day%, and %today_date% — current UTC date values.%post_date% — post date.%timestamp% and %random% — timestamp or generated identifier.%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.
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.
Yes, for image markup in product descriptions. Ensure the product post type is not excluded. Product galleries stored separately are not automatically imported.
Common formats include JPEG, PNG, GIF, and WebP, subject to WordPress file validation and the image processing support available on your server.
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.
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.
Imports run during post save. Save time depends on image count, file sizes, remote server response time, and your hosting resources.
An upload is reused when the generated filename and downloaded contents match. Changed files or naming patterns can create separate imports.
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.
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.
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.
smart_aui_validate_image_url filter hook for developers to customize image URL validation logic%image_title% dynamic tag for file naming patterns - use image title attributes in file names