# Smart Auto Upload Images

Automatically detect external images in post content, import them to your site, add them to the media library, and replace the original image URLs.

## Description

When saving a post, this plugin scans the content for external image URLs, automatically downloads the images, uploads them to the WordPress media library, and replaces the original URLs with the new ones hosted on your server.

## Features

- Automatically detect external images in posts and upload them to your server and WordPress media library
- Replace original image URLs with the newly uploaded ones
- Add imported images to the WordPress media library
- Exclude specific custom post types from auto-upload functionality
- Specify domains to exclude from image importing
- Define a custom base URL for your uploaded images
- Set custom file name patterns for uploaded images
- Set custom alt text patterns for imported images
- Define maximum width and height for uploaded images

## [1.2.0] - 2025-09-28
### Added
- Add option to set Featured Image via URL.
- Introduce `smart_aui_validate_image_url` filter.

### Fixed
- Reuse image if already exist.
- Fix undefined index warning.

## [1.1.1] - 2025-09-06
### Fixed
- Missing files during deployment.

## [1.1.0] - 2025-09-06

### Added
- Introduce new `%image_title%` tag.

### Changed
- Use snackbars instead of notices.

### Fixed
- Image file name sanitize properly.
