Smart Auto Upload Images – Import External Images
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: Scans post content for external image URLs (any image not hosted on your domain) Downloads each external image to a temporary location Validates image file integrity and format Uploads valid images to your WordPress media library Replaces original external URLs with new local URLs 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 Install and activate Auto Upload Images Go to Settings → Auto Upload Images Configure your preferences (or use defaults) Create or edit any post with external images Click Save or Update – images import automatically 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: Go to Settings → Auto Upload Images Find the “Excluded Domains” section Enter domains one per line (e.g., cdn.example.com) Save settings Images from excluded domains will be left as external URLs How to Set Custom File Names for Imported Images Navigate to Settings → Auto Upload Images Find “File Name Pattern” setting Enter your pattern using available tags: Example: %post_title%-%filename% Example: imported-%date%-%filename% Save settings 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: Edit your post Find the Featured Image section in the sidebar Enter the external image URL in the “Set from URL” field 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
Top keywords
- images56×4.62%
- image37×3.05%
- post34×2.81%
- external23×1.90%
- url16×1.32%
- media13×1.07%
- imported12×0.99%
- library12×0.99%
- media library12×0.99%
- set11×0.91%
- check10×0.83%
- content10×0.83%
WPForms – AI Form Builder for WordPress – Contact Forms, Payment Forms, Survey Form, Quiz & More
WordPress Contact Form Builder Plugin WPForms is an AI drag & drop WordPress form builder that’s EASY and POWERFUL. Create contact forms, feedback forms, subscription forms, payment forms (including Stripe, Square & PayPal), and other types of forms for your site in minutes with just a few clicks! At WPForms, user experience is our #1 priority. Our pre-built form templates and workflows make WPForms the most beginner-friendly contact form plugin on the market. You don’t have to hire a developer. Create a form in less than 5 minutes with our drag & drop form builder, using a template or just asking AI to get a head start. WPForms Pro This plugin is the Lite version of WPForms Pro, which comes with email subscription forms, multi-page contact forms, file uploads, conditional logic, and extra payment integrations. Click here to purchase the best premium WordPress contact form plugin now! AI-Powered Drag & Drop Contact Form Builder Create custom contact forms in minutes with our easy-to-use drag and drop online form builder or just ask AI to build it for you. But don’t just take our word for it. See what WordPress experts are saying: WPForms is by far the easiest form plugin to use. My clients love WPForms and it’s one of the few plugins they can use without any training. As a developer I appreciate how fast, modern, clean and extensible it is. Bill Erickson – Expert WordPress Consultant Pre-built Form Templates WPForms comes with 2100+ pre-built form templates. Whether you’re looking to create a simple contact form, marketing form, request a quote form, donation form, payment order form, registration form, survey form, quiz form, Stripe payment form, or a subscription form, we have a form template already prepared and ready to use. Mobile Ready, SEO Friendly, and Optimized for Speed WPForms contact forms are 100% responsive and mobile-friendly. We optimized every query on the frontend and the backend to ensure that it’s one of the fastest WordPress contact form plugins. You can embed your contact form on any page with an optimized title and description, so WPForms is one of the most SEO friendly contact form plugins too. Fields & Features You Need to Succeed With star ratings, file uploads, repeater fields, survey fields, and multi-page contact forms, you can easily build the right custom form for your site’s needs. Plus, integrate your contact forms with an email marketing service in just a few steps and collect payments with Stripe, PayPal, and Square for bookings and orders without the need for a dedicated eCommerce plugin. See what one business owner has to say about their WPForms contact form: As a business owner, time is my most valuable asset. WPForms allows me to create smart contact forms with just a few clicks. With their pre-built form templates and the drag & drop builder, I can create a new form that works in less than 2 minutes without writing a single line of code. Well worth the investment. David Henzel – Co-founder of MaxCDN Surveys & Polls Create custom survey forms like Survey Monkey. Our WordPress survey plugin addon comes with smart survey fields including Likert scale, star ratings, and NPS. Embed your surveys and polls anywhere in WordPress. Use our survey reporting tools to customize graphs, export them for presentations, and display aggregate results. You can also share poll results instantly when collecting votes. Default WordPress Forms Aside from building simple contact forms, WPForms also helps you create better default WordPress forms, like custom WordPress login forms and custom WordPress user registration forms. Create a password-protected contact form or even a members-only contact form. Bloggers and publishers can use our WordPress post submission forms to accept guest posts, testimonials, and more. Payment Forms, Donation Forms, Booking Forms, and More While WPForms started out as a contact form plugin, it has evolved into a powerful custom forms solution for any type of payment or booking form. WPForms integrates with PayPal, Stripe, Square Payments, Authorize.Net, and Mercado Pago so you can easily accept credit card payments or take payments via PayPal. Bonus: you can also take signatures. We’re proud to be a Stripe Verified Partner. This partnership allows us to build the best Stripe integration with early access to features. You can use our Stripe integration to accept both one-time payments as well as recurring payments while syncing all form data to your Stripe account. Custom Calculator Forms Using the WPForms Calculations addon, you can build custom formulas and display results on the frontend. Create simple arithmetic calculations or build complex conditional calculations with rounded values, averages, time ranges, and more! It’s the best calculator plugin for WordPress. Forms Optimized for Conversions With our Form Pages addon, you can create distraction-free custom form landing pages to increase conversions. To improve form completion rates, we created Conversational Forms which helps you make your feedback forms feel more human by adding an interactive layout. (See Conversational Forms Demo). Easy to Customize and Extend You can easily customize your contact forms with our section dividers, HTML blocks, and CSS. Embedding forms in Elementor and Divi has never been easier thanks to our native integrations. We also know that our developer friends may want more control, so we added tons of hooks and filters. Full WPForms Feature List Online form builder – powerful drag & drop contact form builder. Create WordPress contact forms, payment forms, and other online forms without writing any code. 100% mobile responsive. GDPR friendly. Payment Forms – Take payments, donations, down payments, recurring payments, service payments with our Stripe (FREE) integration. Form templates pre-built and ready to import. Form styling for fields, labels, and buttons. Spam protection built in, plus integrations with hCaptcha, Google reCAPTCHA, and Cloudflare Turnstile. AI Forms to automatically create and refine forms through natural conversation. Instant form notifications via email. Custom form confirmations with success messages or thank you pages. Smart phone field that adapts to your visitor’s location. AI Choices to automatically populate Multiple Choice, Checkboxes, and Dropdown field options. Coupons for free shipping and sale discounts. Calculator forms for payment, shipping, billing, and more. File upload fields for user submissions. Multi-page forms with progress bars. Smart conditional logic to show or hide fields. Repeater field that enables the person filling out the form to easily add another field or group of fields to fill out. Perfect for group registration forms, custom order forms, and more. Signatures for agreements or payment forms. User registration forms and custom login forms. Post submission forms to collect user-generated content. Geolocation to collect location data along with submissions. Surveys and Polls with interactive reports. Quizzes with graded tests, personality quizzes, and scored assessments, plus AI-generated questions. Form abandonment detection to collect partial form submissions. Form locker to control access using passwords, dates, and more. Offline forms to collect submissions without an internet connection. Form landing pages to boost conversions. Conversational forms to boost overall completion rates. Lead forms to get more submissions with multi-step layouts. Webhooks to send data without third party connectors. User Journey reports so you know which content is driving form conversions. Save and Resume to let visitors save and come back later. Entry Automation to export and delete form entries on a daily, weekly, or monthly basis. Integrations Google Sheets Zapier PayPal Commerce Stripe – We’re a Stripe Verified Partner for Payments. Square Authorize.Net Mercado Pago Mailchimp AWeber Campaign Monitor GetResponse Constant Contact Airtable Notion Drip ActiveCampaign HubSpot Brevo MailerLite MailPoet ConvertKit Klaviyo SendGrid Salesforce Slack Dropbox Google Calendar Google Drive Twilio Pipedrive Make Zoho CRM You can see why WPForms is the best WordPress contact form plugin on the market! Want to unlock these features? Upgrade to our Pro version. Credits This plugin is created by Syed Balkhi. Branding Guidelines WPForms® is a registered trademark of WPForms LLC. When writing about the contact form plugin by WPForms, please make sure to uppercase the initial 3 letters. WPForms (correct) WP Forms (incorrect) wpforms (incorrect) wpform (incorrect) Notes WPForms is absolutely, positively the most beginner-friendly WordPress contact form plugin on the market. It is both easy and powerful. We took the pain out of creating online forms and made it easy. Check out all WPForms features. Also, I’m the founder of WPBeginner, the largest WordPress resource site for beginners. It was a huge priority for me to make a WordPress contact form plugin that beginners can use without any training. I feel that we have done that here. I hope you enjoy using WPForms. Thank you, Syed Balkhi