Title: Smart Auto Upload Images &#8211; Import External Images
Author: Burhan Nasir
Published: <strong>3. August 2025</strong>
Last modified: 17. August 2026

---

Search plugins

![](https://ps.w.org/smart-auto-upload-images/assets/banner-772x250.png?rev=3450869)

![](https://ps.w.org/smart-auto-upload-images/assets/icon-256x256.jpg?rev=3338471)

# Smart Auto Upload Images – Import External Images

 By [Burhan Nasir](https://profiles.wordpress.org/burhandodhy/)

[Download](https://downloads.wordpress.org/plugin/smart-auto-upload-images.1.2.4.zip)

 * [Details](https://de-ch.wordpress.org/plugins/smart-auto-upload-images/#description)
 * [Reviews](https://de-ch.wordpress.org/plugins/smart-auto-upload-images/#reviews)
 * [Development](https://de-ch.wordpress.org/plugins/smart-auto-upload-images/#developers)

 [Support](https://wordpress.org/support/plugin/smart-auto-upload-images/)

## Description

Smart Auto Upload Images automatically imports external images from your post content
into your WordPress media library. When you save or update a post, the plugin detects
any external image URLs, downloads them to your server, and replaces the original
URLs with your hosted versions. This improves site performance, ensures image availability,
and gives you complete control over your content.

### Why Auto Upload Images to Your Media Library?

When you copy content from external sources or use remote images, you risk broken
images when the original source removes them. Hosting images on your own server 
provides several benefits:

 * **Better SEO performance** – Search engines favor self-hosted images
 * **Faster page load times** – Eliminates external HTTP requests
 * **Full content control** – Images remain available even if sources go offline

### How Auto Upload Images Works

The plugin runs automatically whenever you save or update a post. Here’s the process:

 1. Scans post content for external image URLs (any image not hosted on your domain)
 2. Downloads each external image to a temporary location
 3. Validates image file integrity and format
 4. Uploads valid images to your WordPress media library
 5. Replaces original external URLs with new local URLs
 6. Attaches imported images to your post in the media library

No manual intervention required. Just write your content and let the plugin handle
the rest.

### Key Features

### Automatic External Image Detection

The plugin automatically identifies external images in your post content when you
save. It distinguishes between local images (already hosted on your site) and external
images that need importing.

### Smart URL Replacement

After importing images, the plugin intelligently replaces all instances of the external
URL with your new local URL. This works with images in:

 * Post content (Classic Editor and Gutenberg blocks)
 * Image galleries
 * Featured images

### Media Library Integration

All imported images are added to your WordPress media library with proper metadata.
You can:

 * Edit images using WordPress image editor
 * View which post each image is attached to
 * Set custom alt text during import
 * Apply your site’s image optimization settings

### Flexible Domain Exclusions

Exclude specific domains from auto-import. Useful for:

 * CDN-hosted images you want to keep external
 * Partner websites where you have permission to hotlink
 * Your own secondary domains
 * Social media embeds you want to keep as external

### Custom Post Type Control

Choose which post types trigger auto-upload. Enable for:

 * Posts and pages (default)
 * WooCommerce products
 * Custom portfolio post types
 * Documentation posts
 * Or disable for specific types you want to skip

### Advanced File Naming Patterns

Set custom file naming patterns for imported images using dynamic tags:

 * `%filename%` – Original filename
 * `%post_title%` – Current post title
 * `%post_id%` – Post ID
 * `%image_title%` – Image title attribute
 * `%date%` – Current date
 * `%time%` – Current timestamp

Example: `%post_title%-%filename%` becomes `my-blog-post-example-image.jpg`

### Custom Alt Text Patterns

Define alt text patterns for better SEO:

 * `%post_title%` – Use post title in alt text
 * `%filename%` – Use filename as alt text
 * Custom text – Set consistent alt text across imports

### Image Size Constraints

Set maximum width and height for imported images to:

 * Control storage usage
 * Maintain consistent image sizes
 * Automatically resize oversized images
 * Prevent huge images from slowing your site

### Featured Image from URL

Set a post’s featured image using an external URL. The plugin will:

 * Download the image from the URL
 * Import it to your media library
 * Set it as the post’s featured image
 * Work via REST API or post editor

### How to Import External Images from Posts

 1. Install and activate Auto Upload Images
 2. Go to Settings  Auto Upload Images
 3. Configure your preferences (or use defaults)
 4. Create or edit any post with external images
 5. Click Save or Update – images import automatically
 6. Check your Media Library to see imported images

### How to Exclude Specific Domains

If you want to prevent images from certain domains from being imported:

 1. Go to Settings  Auto Upload Images
 2. Find the «Excluded Domains» section
 3. Enter domains one per line (e.g., cdn.example.com)
 4. Save settings
 5. Images from excluded domains will be left as external URLs

### How to Set Custom File Names for Imported Images

 1. Navigate to Settings  Auto Upload Images
 2. Find «File Name Pattern» setting
 3. Enter your pattern using available tags:
 4.  * Example: `%post_title%-%filename%`
     * Example: `imported-%date%-%filename%`
 5. Save settings
 6. New imports will use your naming pattern

This helps organize your media library and improves SEO with descriptive file names.

### How to Set Featured Image via URL

**Using the Post Editor:**

 1. Edit your post
 2. Find the Featured Image section in the sidebar
 3. Enter the external image URL in the «Set from URL» field
 4. The image imports automatically and sets as featured image

### Integration with Page Builders

Auto Upload Images works with popular page builders:

### Gutenberg Block Editor

All images in Gutenberg blocks are automatically detected and imported when you 
save the post.

### Classic Editor

External images in Classic Editor content are imported on post save.

### WooCommerce

Enable auto-import for Product post type to automatically import external product
images.

### Custom Post Types

Configure any custom post type to trigger auto-import functionality.

Just ensure Auto Upload Images is active when running imports.

### Performance and Storage Considerations

### Server Storage

Imported images consume server storage. Monitor your hosting plan’s disk space if
importing large quantities of images.

### Import Speed

Import time depends on:
 * Image file sizes * Your server’s download speed * Number
of images per post * Configured maximum dimensions

### Optimization Tips

 * Set maximum width/height to reduce storage
 * Use an image optimization plugin after import
 * Exclude domains hosting very large images
 * Test with small batches before bulk imports

### Developer Features

### Filter: smart_aui_validate_image_url

Programmatically control which image URLs get imported.

    ```
    add_filter( 'smart_aui_validate_image_url', function( $is_valid, $url ) {
        // Skip images from specific paths
        if ( strpos( $url, '/cdn/avatars/' ) !== false ) {
            return false;
        }
        return $is_valid;
    }, 10, 2 );
    ```

### Additional Hooks

Check plugin documentation for additional filters and actions to customize behavior.

### Troubleshooting

### Images Not Importing

**Problem:** External images remain unchanged after saving post

**Solutions:**
 * Check if domain is in excluded domains list * Verify your server
can make external HTTP requests * Check WordPress debug log for errors * Ensure 
PHP has necessary image processing libraries * Verify write permissions on uploads
directory

### Import Errors in Debug Log

**Problem:** Seeing errors in wp-content/debug.log

**Solutions:**
 * Check image URL is publicly accessible * Verify image format is
supported (JPG, PNG, GIF, WebP) * Ensure external server allows download/hotlinking*
Check SSL certificate validity if using HTTPS images

### Images Upload but URLs Not Replaced

**Problem:** Images added to media library but old URLs remain

**Solutions:**
 * Clear any caching plugins * Check post content in Text/HTML mode*
Verify images aren’t in excluded domain list * Review file naming pattern doesn’t
cause conflicts

### Duplicate Images in Media Library

**Problem:** Same image imported multiple times

**Solutions:**
 * Plugin should detect and reuse existing images (v1.2.0+) * Check
if images have different URLs but same file * Clear media library of duplicates 
and re-save post

### Featured Image Not Setting from URL

**Problem:** Featured image URL not importing

**Solutions:**
 * Verify URL is publicly accessible * Check image format is supported*
Ensure PHP memory limit is sufficient * Review error logs for specific error messages

### Maximum Width/Height Not Applied

**Problem:** Images exceed configured dimensions

**Solutions:**
 * Ensure GD or ImageMagick is installed on server * Check PHP memory
limit allows image processing * Verify dimensions are set in plugin settings * Test
with smaller images first

## Screenshots

[[

## FAQ

### Does this work with Gutenberg blocks?

Yes, the plugin scans all post content including Gutenberg blocks for external image
URLs and imports them automatically.

### Will this slow down my post save process?

Image import happens during post save, so very large images or many images may add
a few seconds to save time. This is normal behavior for importing external content.

### What happens if the external image is removed?

Once imported, the image is hosted on your server, so you retain a copy even if 
the original source removes it. This is one of the main benefits of auto-importing
external images.

### Can I exclude specific domains from import?

Yes, use the Excluded Domains setting to specify domains that should be left as 
external images. This is useful for CDN images or trusted partner sites.

### Does this work with WooCommerce products?

Yes, enable the Product post type in settings to auto-import external images in 
WooCommerce product descriptions.

### What image formats are supported?

JPG, JPEG, PNG, GIF, and WebP images are supported.

### Can I bulk import images from existing posts?

The plugin works on post save. To bulk import images from existing posts, you would
need to update those posts (a bulk edit action could trigger imports on multiple
posts).

### Will this import images from RSS feeds?

Yes, if you import posts via RSS, any external images in the imported content will
be detected and imported when you save the posts.

### Does this affect site performance?

Image import happens server-side during post save. Once imported, images load from
your server like any other media file. There’s no performance impact on the frontend.

### Can I customize imported image file names?

Yes, use file name patterns in settings with dynamic tags like %post_title%, %filename%,%
date%, etc. to create descriptive, SEO-friendly file names.

### Does this work with WordPress multisite?

Yes, each site in a multisite network can configure its own settings independently.

### Can I set alt text for imported images?

Yes, use the alt text pattern setting with available tags to set descriptive alt
text automatically for better SEO.

### Will this work with page builders like Elementor?

If the page builder saves image URLs in post content, yes. Some builders use custom
storage methods that may not be compatible. Test with your specific page builder.

### How do I prevent duplicate imports?

Version 1.2.0+ automatically detects and reuses images that already exist in your
media library based on the original image URL.

### Can I import images from password-protected URLs?

No, images must be publicly accessible for the plugin to download them.

### What’s the maximum image size I can import?

This is limited by your server’s PHP memory limit and your configured maximum dimensions
in plugin settings. Most servers can handle images up to 5-10MB.

### How do I import images from specific HTML attributes?

The plugin automatically scans standard img tags in post content. For custom implementations,
you may need developer customization using available filters.

### Can I disable auto-import for specific posts?

Yes, you can exclude specific post types from auto-import in the settings. For individual
posts, you would need to temporarily disable the plugin.

### Will this work with lazy loading plugins?

Yes, the plugin works independently of lazy loading. It replaces URLs in the HTML,
and lazy loading plugins will process the local URLs normally.

### How do I troubleshoot failed imports?

Enable WordPress debug logging (WP_DEBUG_LOG) and check the wp-content/debug.log
file for specific error messages about failed imports.

## Reviews

![](https://secure.gravatar.com/avatar/f01c12104d17f9a2249cd057970d14f797c835ea737eb609de3edc58c18d9fbf?
s=60&d=retro&r=g)

### 󠀁[So helpful](https://wordpress.org/support/topic/so-helpful-154/)󠁿

 [bN](https://profiles.wordpress.org/seesomethingnew/) 2. Juni 2026

Recently made the mistake of trying out other newsletter and blogging platforms 
before coming back to wordpress. This has made it so much easier to get my images
into my posts as the exports from the other platforms are so complicated to map 
to wordpress was easier to just do a copy past job for each post and this made sure
the images came across and linked to my site as well.

![](https://secure.gravatar.com/avatar/41856c5ba5c1a0350f7b9e7bd702342e9af8ef1e25d8d9690ec4bc28591e7f06?
s=60&d=retro&r=g)

### 󠀁[Amazing, exactly what I needed](https://wordpress.org/support/topic/amazing-exactly-what-i-needed-4/)󠁿

 [august579](https://profiles.wordpress.org/august579/) 17. März 2026

This plugin saved me SO MUCH TIME on a complicated blog import image issue

![](https://secure.gravatar.com/avatar/a07d2023ba7899bf42a4a5a1fc3507323a8d4b91bd2a8da53561e32a3dbb0dc0?
s=60&d=retro&r=g)

### 󠀁[Saves me so much time!](https://wordpress.org/support/topic/saves-me-so-much-time-13/)󠁿

 [ideezo](https://profiles.wordpress.org/ideezo/) 23. Dezember 2025

Thanks!

![](https://secure.gravatar.com/avatar/c14d3fde369edbafce9f2da5c9c23c0550436cca57050605257688d4c0eeddaf?
s=60&d=retro&r=g)

### 󠀁[Amazing Plugin](https://wordpress.org/support/topic/amazing-plugin-2819/)󠁿

 [zunairnasir](https://profiles.wordpress.org/zunairnasir/) 12. November 2025

Never thought this plugin would be that helpful for me. Super Clean, Easy to use.

![](https://secure.gravatar.com/avatar/bfb517799f5d6d78879690467952e966a89efe453481579889176eddd1f7c3dd?
s=60&d=retro&r=g)

### 󠀁[Very Disappointing and Potentially Harmful Plugin](https://wordpress.org/support/topic/very-disappointing-and-potentially-harmful-plugin/)󠁿

 [askhematologist](https://profiles.wordpress.org/askhematologist/) 8. November 
2025

I installed Smart Auto Upload Images – Import External Images hoping it would help
manage external images on my WordPress site, but it ended up causing serious damage
instead. The plugin removed many of my post images that had external links and replaced
them with a placeholder stating “Content not viewable in your region.” This completely
ruined the appearance of my posts and could have led to permanent data loss. Be 
extremely cautious before installing this plugin — you may lose all your externally
linked images permanently. I had to uninstall it immediately and manually reconstruct
the missing images to restore my site. Definitely not recommended.

![](https://secure.gravatar.com/avatar/228765d203a598eb822a543e210b8e72f74a952182236db99a68cc441cbd7e98?
s=60&d=retro&r=g)

### 󠀁[Life Saver](https://wordpress.org/support/topic/life-saver-477/)󠁿

 [Alexander S. Kunz](https://profiles.wordpress.org/antermoia/) 12. September 2025

This plugin has been a life saver while migrating Typepad blogs to Wordpress. On
top of that, the developer is super helpful and responsive to questions, earning
the plugin six out of five stars. Thank you, Burhan!

 [ Read all 6 reviews ](https://wordpress.org/support/plugin/smart-auto-upload-images/reviews/)

## Contributors & Developers

“Smart Auto Upload Images – Import External Images” is open source software. The
following people have contributed to this plugin.

Contributors

 *   [ Burhan Nasir ](https://profiles.wordpress.org/burhandodhy/)

“Smart Auto Upload Images – Import External Images” has been translated into 2 locales.
Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/smart-auto-upload-images/contributors)
for their contributions.

[Translate “Smart Auto Upload Images – Import External Images” into your language.](https://translate.wordpress.org/projects/wp-plugins/smart-auto-upload-images)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/smart-auto-upload-images/),
check out the [SVN repository](https://plugins.svn.wordpress.org/smart-auto-upload-images/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/smart-auto-upload-images/)
by [RSS](https://plugins.trac.wordpress.org/log/smart-auto-upload-images/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.2.4 – 2026-08-17

**Added:**

 * Added WordPress 7.1 support.

#### 1.2.3 – 2026-01-31

**Fixed:**

 * Fixed SSRF vulnerability. Thanks Patchstack for reporting it!

#### 1.2.2 – 2026-01-10

**Added:**

 * Added WordPress 6.9 support.

**Fixed:**

 * Fixed post type exclusion.
 * Fixed deprecated warnings on the settings page.

#### 1.2.1 – 2025-11-01

**Fixed:**

 * Fixed a security issue. Thanks Wordfence for reporting it!

#### 1.2.0 – 2025-09-28

**Added:**

 * Added featured image import from external URL – set featured images using remote
   image URLs
 * Introduced `smart_aui_validate_image_url` filter hook for developers to customize
   image URL validation logic

**Fixed:**

 * Improved duplicate detection system – automatically reuses existing images in
   media library instead of importing duplicates
 * Fixed undefined index PHP warning when processing images without complete metadata
 * Enhanced image validation with better error handling and logging

#### 1.1.1 – 2025-09-06

**Fixed:**

 * Fixed missing plugin files during WordPress.org deployment process
 * Resolved asset loading issues in production environment

#### 1.1.0 – 2025-09-06

**Added:**

 * Introduced new `%image_title%` dynamic tag for file naming patterns – use image
   title attributes in file names
 * Added support for image title attribute extraction during import

**Changed:**

 * Replaced admin notices with modern snackbar notifications for better user experience
 * Improved notification system with auto-dismiss functionality

**Fixed:**

 * Enhanced file name sanitization to properly handle special characters, spaces,
   and international characters
 * Fixed image file naming conflicts with duplicate names

#### 1.0.0

 * Initial Release.

## Meta

 *  Version **1.2.4**
 *  Last updated **2 Monaten ago**
 *  Active installations **5'000+**
 *  WordPress version ** 6.2 or higher **
 *  Tested up to **7.1.3**
 *  PHP version ** 8.0 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/smart-auto-upload-images/), [Japanese](https://ja.wordpress.org/plugins/smart-auto-upload-images/)
   und [Korean](https://ko.wordpress.org/plugins/smart-auto-upload-images/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/smart-auto-upload-images)
 * Tags
 * [auto-upload](https://de-ch.wordpress.org/plugins/tags/auto-upload/)[external images](https://de-ch.wordpress.org/plugins/tags/external-images/)
   [import images](https://de-ch.wordpress.org/plugins/tags/import-images/)[media library](https://de-ch.wordpress.org/plugins/tags/media-library/)
   [seo](https://de-ch.wordpress.org/plugins/tags/seo/)
 *  [Advanced View](https://de-ch.wordpress.org/plugins/smart-auto-upload-images/advanced/)

## Ratings

 4.3 von 5 Sternen.

 *  [  5 5-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/smart-auto-upload-images/reviews/?filter=5)
 *  [  0 4-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/smart-auto-upload-images/reviews/?filter=4)
 *  [  0 3-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/smart-auto-upload-images/reviews/?filter=3)
 *  [  0 2-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/smart-auto-upload-images/reviews/?filter=2)
 *  [  1 1-Sterne-Rezension     ](https://wordpress.org/support/plugin/smart-auto-upload-images/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/smart-auto-upload-images/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/smart-auto-upload-images/reviews/)

## Contributors

 *   [ Burhan Nasir ](https://profiles.wordpress.org/burhandodhy/)

## Support

Issues resolved in last two months:

     1 out of 1

 [View support forum](https://wordpress.org/support/plugin/smart-auto-upload-images/)