Description
Featured Image from Content is a lightweight and powerful WordPress plugin that automatically sets the featured image (post thumbnail) using the first image found inside your post content.
NEW: If your post does not contain any image, the plugin can automatically generate a featured image using OpenAI.
If you manage a blog, news website, magazine, affiliate site, or high-volume content website, manually assigning featured images to every post can be time-consuming. This plugin eliminates that manual work and ensures every post always has a visually appealing featured image.
Perfect for bloggers, agencies, developers, AI-powered websites, and automated content platforms.
Why Use This Plugin?
• Automatically assigns featured images
• AI generates featured images when none exist
• Prevents publishing posts without thumbnails
• Improves SEO and social media sharing
• Saves time and increases productivity
• Works with Posts, Pages, and Custom Post Types
• Lightweight and performance-friendly
Key Features
Automatic Featured Image Detection
The plugin scans your post content and automatically selects the first image to set as the featured image when you publish or update a post.
AI Featured Image Generation (OpenAI Integration)
If no image is found in the content, the plugin can generate a relevant featured image using OpenAI.
To use this feature:
1. Add your OpenAI API Key in the plugin settings.
2. Enable AI image generation.
3. When a post has no image, the plugin automatically generates one based on the post content or title.
This ensures every post always has a featured image.
Supports Multiple Post Types
Choose which post types (Posts, Pages, Custom Post Types) should have featured images automatically assigned or generated.
SEO Friendly
Featured images improve:
• Search engine visibility
• Social media preview appearance
• Click-through rates
• Overall content engagement
Perfect for Automated & AI Websites
Works great with:
• Auto blogging websites
• AI content generation websites
• Content importers
• News websites
• Multi-author blogs
• Affiliate marketing websites
Lightweight & Clean Code
The plugin is optimized for performance and does not add unnecessary load to your WordPress website.
How It Works
Case 1: Post Contains Image
1. Write or import content that contains at least one image.
2. Publish or update the post.
3. The plugin automatically detects the first image.
4. That image is set as the featured image.
Case 2: Post Has No Image
1. Write or import content without any image.
2. Make sure OpenAI API Key is added in settings.
3. Publish or update the post.
4. The plugin generates a relevant image using OpenAI.
5. The generated image is automatically set as the featured image.
No manual action required.
OpenAI API Setup
- Go to Settings Featured Image from Content.
- Enter your OpenAI API Key.
- Save changes.
- Enable AI Image Generation option.
Note: OpenAI usage may incur charges based on your OpenAI account plan.
Compatibility
• Works with Gutenberg Block Editor
• Works with Classic Editor
• Compatible with most modern WordPress themes
• Compatible with popular SEO plugins
• Compatible with social sharing plugins
Use Cases
• Automatically assign featured images for bulk imported posts
• Generate AI images for text-only posts
• Ensure consistent blog archive layouts
• Maintain professional content presentation
• Improve social media previews
Installation
- Upload the plugin files to the
/wp-content/plugins/featured-image-from-contentdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Go to Settings Featured Image from Content.
- Select the post types where you want to automatically set featured images.
- (Optional) Add your OpenAI API Key to enable AI image generation.
- Save changes.
- Done!
FAQ
-
Does this overwrite existing featured images?
-
No. The plugin only sets or generates a featured image if one is not already assigned.
-
Does it work with custom post types?
-
Yes. You can select which post types should have automatic featured images.
-
What if a post has no images?
-
If OpenAI API Key is configured, the plugin will generate a featured image automatically. Otherwise, no image will be assigned.
-
Is the OpenAI feature mandatory?
-
No. The plugin works perfectly without OpenAI. AI image generation is optional.
-
Does it affect website performance?
-
No. The plugin is lightweight and optimized for performance.
-
Is it compatible with the latest WordPress version?
-
Yes. The plugin is regularly tested with the latest WordPress releases.
Reviews
Contributors & Developers
“Featured Image from Content – AI Featured Image Generator” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Featured Image from Content – AI Featured Image Generator” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.8
- Plugin Name Update.
1.7
- Added OpenAI-powered AI featured image generation for posts without images.
- Added OpenAI API Key configuration option in the settings page.
- Improved overall performance and code optimization.
- Minor bug fixes and general improvements.
1.6
- Description Update and donate link added.
1.5
- Improvements and tested with WordPress 6.9.
1.4
- Improvements and tested with WordPress 6.7.2.
1.3
- Improvements and tested with WordPress 6.5.
1.2
- Improvements and tested with WordPress 6.4.1.
1.1
- Tested with WordPress 6.3.1.
1.0
- Initial release.

