{"id":176395,"date":"2023-09-25T06:26:36","date_gmt":"2023-09-25T06:26:36","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/featured-image-from-content\/"},"modified":"2026-04-01T12:37:05","modified_gmt":"2026-04-01T12:37:05","slug":"featured-image-from-content","status":"publish","type":"plugin","link":"https:\/\/kk.wordpress.org\/plugins\/featured-image-from-content\/","author":20259795,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.8","stable_tag":"1.8","tested":"6.9.4","requires":"5.2","requires_php":"5.6","requires_plugins":null,"header_name":"Featured Image from Content \u2013 AI Featured Image Generator","header_author":"Dhrumil Kumbhani","header_description":"This plugin is useful for automatically setting featured images from post content if no featured images are available.","assets_banners_color":"d3acaf","last_updated":"2026-04-01 12:37:05","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/buymeacoffee.com\/dhrumilk","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/featured-image-from-content\/","header_author_uri":"https:\/\/in.linkedin.com\/in\/dhrumil-kumbhani-707b7b179?original_referer=https%3A%2F%2Fwww.google.com%2F","rating":5,"author_block_rating":0,"active_installs":300,"downloads":3938,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"dhrumilk","date":"2023-09-25 06:39:02"},"1.1":{"tag":"1.1","author":"dhrumilk","date":"2023-10-04 10:23:03"},"1.2":{"tag":"1.2","author":"dhrumilk","date":"2023-11-28 05:03:07"},"1.3":{"tag":"1.3","author":"dhrumilk","date":"2024-06-13 07:18:44"},"1.4":{"tag":"1.4","author":"dhrumilk","date":"2025-03-12 08:45:14"},"1.5":{"tag":"1.5","author":"dhrumilk","date":"2025-12-22 08:44:47"},"1.6":{"tag":"1.6","author":"dhrumilk","date":"2026-02-25 10:11:08"},"1.7":{"tag":"1.7","author":"dhrumilk","date":"2026-02-26 11:28:43"},"1.8":{"tag":"1.8","author":"dhrumilk","date":"2026-04-01 12:37:05"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":3},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2971077,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2971077,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":2971077,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.3","1.4","1.5","1.6","1.7","1.8"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3470201,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"Plugin settings page where you can select post types and OpenAI API key configuration."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[256655,9512,256572,256656,256571],"plugin_category":[50],"plugin_contributors":[218195,222066,222067],"plugin_business_model":[],"class_list":["post-176395","plugin","type-plugin","status-publish","hentry","plugin_tags-ai-featured-image","plugin_tags-auto-featured-image","plugin_tags-image-from-content","plugin_tags-openai-image-generator","plugin_tags-set-featured-image-automatically","plugin_category-media","plugin_contributors-dhrumilk","plugin_contributors-dhruvishah2203","plugin_contributors-mikinc860","plugin_committers-dhrumilk"],"banners":{"banner":"https:\/\/ps.w.org\/featured-image-from-content\/assets\/banner-772x250.png?rev=2971077","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/featured-image-from-content\/assets\/icon-128x128.png?rev=2971077","icon_2x":"https:\/\/ps.w.org\/featured-image-from-content\/assets\/icon-256x256.png?rev=2971077","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/featured-image-from-content\/assets\/screenshot-1.png?rev=3470201","caption":"Plugin settings page where you can select post types and OpenAI API key configuration."}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p>NEW: If your post does not contain any image, the plugin can automatically generate a featured image using OpenAI.<\/p>\n\n<p>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.<\/p>\n\n<p>Perfect for bloggers, agencies, developers, AI-powered websites, and automated content platforms.<\/p>\n\n<h4>Why Use This Plugin?<\/h4>\n\n<p>\u2022 Automatically assigns featured images<br \/>\n\u2022 AI generates featured images when none exist<br \/>\n\u2022 Prevents publishing posts without thumbnails<br \/>\n\u2022 Improves SEO and social media sharing<br \/>\n\u2022 Saves time and increases productivity<br \/>\n\u2022 Works with Posts, Pages, and Custom Post Types<br \/>\n\u2022 Lightweight and performance-friendly<\/p>\n\n<h4>Key Features<\/h4>\n\n<h4>Automatic Featured Image Detection<\/h4>\n\n<p>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.<\/p>\n\n<h4>AI Featured Image Generation (OpenAI Integration)<\/h4>\n\n<p>If no image is found in the content, the plugin can generate a relevant featured image using OpenAI.<\/p>\n\n<p>To use this feature:\n1. Add your OpenAI API Key in the plugin settings.\n2. Enable AI image generation.\n3. When a post has no image, the plugin automatically generates one based on the post content or title.<\/p>\n\n<p>This ensures every post always has a featured image.<\/p>\n\n<h4>Supports Multiple Post Types<\/h4>\n\n<p>Choose which post types (Posts, Pages, Custom Post Types) should have featured images automatically assigned or generated.<\/p>\n\n<h4>SEO Friendly<\/h4>\n\n<p>Featured images improve:\n\u2022 Search engine visibility<br \/>\n\u2022 Social media preview appearance<br \/>\n\u2022 Click-through rates<br \/>\n\u2022 Overall content engagement<\/p>\n\n<h4>Perfect for Automated &amp; AI Websites<\/h4>\n\n<p>Works great with:\n\u2022 Auto blogging websites<br \/>\n\u2022 AI content generation websites<br \/>\n\u2022 Content importers<br \/>\n\u2022 News websites<br \/>\n\u2022 Multi-author blogs<br \/>\n\u2022 Affiliate marketing websites<\/p>\n\n<h4>Lightweight &amp; Clean Code<\/h4>\n\n<p>The plugin is optimized for performance and does not add unnecessary load to your WordPress website.<\/p>\n\n<h4>How It Works<\/h4>\n\n<p>Case 1: Post Contains Image\n1. Write or import content that contains at least one image.\n2. Publish or update the post.\n3. The plugin automatically detects the first image.\n4. That image is set as the featured image.<\/p>\n\n<p>Case 2: Post Has No Image\n1. Write or import content without any image.\n2. Make sure OpenAI API Key is added in settings.\n3. Publish or update the post.\n4. The plugin generates a relevant image using OpenAI.\n5. The generated image is automatically set as the featured image.<\/p>\n\n<p>No manual action required.<\/p>\n\n<h4>OpenAI API Setup<\/h4>\n\n<ol>\n<li>Go to Settings \u2192 Featured Image from Content.<\/li>\n<li>Enter your OpenAI API Key.<\/li>\n<li>Save changes.<\/li>\n<li>Enable AI Image Generation option.<\/li>\n<\/ol>\n\n<p>Note: OpenAI usage may incur charges based on your OpenAI account plan.<\/p>\n\n<h4>Compatibility<\/h4>\n\n<p>\u2022 Works with Gutenberg Block Editor<br \/>\n\u2022 Works with Classic Editor<br \/>\n\u2022 Compatible with most modern WordPress themes<br \/>\n\u2022 Compatible with popular SEO plugins<br \/>\n\u2022 Compatible with social sharing plugins<\/p>\n\n<h4>Use Cases<\/h4>\n\n<p>\u2022 Automatically assign featured images for bulk imported posts<br \/>\n\u2022 Generate AI images for text-only posts<br \/>\n\u2022 Ensure consistent blog archive layouts<br \/>\n\u2022 Maintain professional content presentation<br \/>\n\u2022 Improve social media previews<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/featured-image-from-content<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the \u2018Plugins\u2019 menu in WordPress.<\/li>\n<li>Go to Settings \u2192 Featured Image from Content.<\/li>\n<li>Select the post types where you want to automatically set featured images.<\/li>\n<li>(Optional) Add your OpenAI API Key to enable AI image generation.<\/li>\n<li>Save changes.<\/li>\n<li>Done!<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20overwrite%20existing%20featured%20images%3F\"><h3>Does this overwrite existing featured images?<\/h3><\/dt>\n<dd><p>No. The plugin only sets or generates a featured image if one is not already assigned.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20custom%20post%20types%3F\"><h3>Does it work with custom post types?<\/h3><\/dt>\n<dd><p>Yes. You can select which post types should have automatic featured images.<\/p><\/dd>\n<dt id=\"what%20if%20a%20post%20has%20no%20images%3F\"><h3>What if a post has no images?<\/h3><\/dt>\n<dd><p>If OpenAI API Key is configured, the plugin will generate a featured image automatically. Otherwise, no image will be assigned.<\/p><\/dd>\n<dt id=\"is%20the%20openai%20feature%20mandatory%3F\"><h3>Is the OpenAI feature mandatory?<\/h3><\/dt>\n<dd><p>No. The plugin works perfectly without OpenAI. AI image generation is optional.<\/p><\/dd>\n<dt id=\"does%20it%20affect%20website%20performance%3F\"><h3>Does it affect website performance?<\/h3><\/dt>\n<dd><p>No. The plugin is lightweight and optimized for performance.<\/p><\/dd>\n<dt id=\"is%20it%20compatible%20with%20the%20latest%20wordpress%20version%3F\"><h3>Is it compatible with the latest WordPress version?<\/h3><\/dt>\n<dd><p>Yes. The plugin is regularly tested with the latest WordPress releases.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.8<\/h4>\n\n<ul>\n<li>Plugin Name Update.<\/li>\n<\/ul>\n\n<h4>1.7<\/h4>\n\n<ul>\n<li>Added OpenAI-powered AI featured image generation for posts without images.<\/li>\n<li>Added OpenAI API Key configuration option in the settings page.<\/li>\n<li>Improved overall performance and code optimization.<\/li>\n<li>Minor bug fixes and general improvements.<\/li>\n<\/ul>\n\n<h4>1.6<\/h4>\n\n<ul>\n<li>Description Update and donate link added.<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Improvements and tested with WordPress 6.9.<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Improvements and tested with WordPress 6.7.2.<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Improvements and tested with WordPress 6.5.<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Improvements and tested with WordPress 6.4.1.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Tested with WordPress 6.3.1.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Automatically set the featured image from the first content image, or generate one with OpenAI if none exists.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/176395","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=176395"}],"author":[{"embeddable":true,"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dhrumilk"}],"wp:attachment":[{"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=176395"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=176395"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=176395"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=176395"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=176395"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=176395"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}