AI Thumbnails Maker is a comprehensive WordPress plugin that combines traditional thumbnail regeneration with cutting-edge AI image generation technology. The plugin offers two main functionalities: regenerating existing thumbnails and automatically creating featured images for posts and pages using AI services.
Key Features
🤖 AI-Powered Generation
* Support for DALL-E 3 and Midjourney AI services
* Automatic featured image generation from post titles
* High-quality image generation with customizable settings
* Multiple image sizes and quality options
🖼️ Auto Featured Image
* Automatically generate featured images for posts without them
* Use first image in content or generate with AI
* Support for all post types (posts, pages, products, custom types)
* Smart prompt generation from post titles
📊 Comprehensive Statistics & Monitoring
* Track generation success rates and performance metrics
* View detailed logs of all operations
* Monitor AI service usage and costs
* Real-time progress monitoring with pause/resume functionality
⚙️ Advanced Configuration
* Choose between AI generation and traditional regeneration
* Configure AI service settings and preferences
* Set up automatic processing via cron jobs
* Flexible batch processing options
🔄 Smart Processing
* Regenerate all thumbnails or focus on specific images
* Retry failed generations automatically
* Batch processing with progress tracking
* Background processing via WordPress cron
📈 Advanced Analytics Dashboard
* Real-time statistics summary
* Recent operations table with image previews
* Error tracking and reporting
* Service usage statistics by AI provider
Use Cases
- Theme Changes: When switching themes with different thumbnail requirements
- Image Optimization: Generate optimized thumbnails for better performance
- AI Enhancement: Use AI to create more engaging thumbnail and featured images
- Bulk Processing: Handle large numbers of images efficiently
- Quality Improvement: Enhance existing thumbnails with AI technology
- Content Enhancement: Automatically add featured images to posts without them
- SEO Improvement: Ensure all posts have engaging featured images
- E-commerce: Generate product images and thumbnails automatically
- Blog Management: Maintain consistent visual content across your site
AI Services Supported
- DALL-E 3: OpenAI』s latest image generation model with high-quality results
- Midjourney: Professional-grade AI art generation with artistic styles
- Extensible: Easy to add support for additional AI services via hooks
Requirements
- WordPress 5.0 or higher
- PHP 7.4 or higher
- Valid API keys for chosen AI services (DALL-E 3 or Midjourney)
- Sufficient server resources for image processing
- WordPress cron functionality for background processing
Development & Build Instructions
This plugin uses modern build tools for JavaScript and CSS compilation. To build the plugin from source:
Prerequisites:
– Node.js (version 18 or higher)
– npm (comes with Node.js)
Build Commands:
– npm install – Install dependencies
– npm run build – Build production assets and create distribution package
– npm run build:assets – Build only production assets (JS/CSS)
– npm run build:dev – Build development assets (with source maps)
– npm run dev – Watch mode for development (auto-rebuild on changes)
– npm run build:package – Create distribution package only
Build Process:
1. JavaScript files are compiled using Vite from src/js/ directory
2. SCSS files are compiled to CSS from src/scss/ directory
3. Compiled assets are output to assets/ directory (minified for production)
4. Final distribution package is created as build/compiled/ai-thumbnails-maker-[version].zip
Source Files:
– JavaScript: src/js/App.js and related modules in modules/, components/, utils/
– SCSS: src/scss/admin.scss and component files in base/, components/, layout/, pages/
– Build configuration: vite.config.js, package.json, scripts/build-package.js
Output Structure:
– assets/js/admin.min.js – Compiled JavaScript (production)
– assets/css/admin.min.css – Compiled CSS (production)
– build/compiled/ai-thumbnails-maker/ – Clean plugin directory for distribution
– build/compiled/ai-thumbnails-maker-[version].zip – Ready-to-deploy package
Features:
– Vite for fast builds and HMR (Hot Module Replacement)
– Terser for JavaScript minification
– Autoprefixer for CSS browser compatibility
– SCSS preprocessing with modern syntax
– Source maps for development
– Automatic package creation with excluded dev files
Privacy Policy
This plugin does not collect, store, or transmit any personal data. When using AI services, only the necessary image data and generation prompts are sent to the respective AI service providers. No user information or website content is stored by the plugin.
External Services
This plugin relies on third-party external AI services for image generation functionality. The use of these services is optional and only occurs when you explicitly enable and configure AI-powered features.
IMPORTANT: If you do not configure AI services or choose to use only traditional thumbnail regeneration methods, no data will be sent to any external services.
OpenAI DALL-E 3 API
What it is: DALL-E 3 is an advanced AI image generation service provided by OpenAI Inc.
What it』s used for: When you enable DALL-E 3 in the plugin settings and choose to generate images with AI, this service creates new featured images or thumbnails based on text prompts derived from your post titles or content.
When data is sent: Data is sent to OpenAI』s servers only when:
* You manually trigger AI image generation by clicking 「Generate with AI」 or 「Regenerate with AI」 buttons
* You enable automatic AI-powered featured image generation for new posts (if configured)
* You initiate bulk AI regeneration of existing images
What data is sent:
* Text prompts (generated from your post titles or custom prompts)
* API authentication credentials (your API key)
* Image generation parameters (size, quality, style preferences)
* NO personal user data, website content, or visitor information is transmitted
Data retention: OpenAI may retain API request data according to their data retention policies. Generated images are downloaded to your WordPress site and stored locally.
Required credentials: You must provide your own OpenAI API key, which you can obtain from https://platform.openai.com/api-keys
Service information:
* Service Provider: OpenAI, Inc.
* Terms of Service: https://openai.com/policies/terms-of-use
* Privacy Policy: https://openai.com/policies/privacy-policy
* API Documentation: https://platform.openai.com/docs/guides/images
Midjourney API
What it is: Midjourney is a professional AI image generation service known for artistic and high-quality image creation.
What it』s used for: When you enable Midjourney in the plugin settings and choose to generate images with AI, this service creates new featured images or thumbnails based on text prompts.
When data is sent: Data is sent to Midjourney』s servers only when:
* You manually trigger AI image generation with Midjourney selected as the service
* You enable automatic AI-powered featured image generation using Midjourney (if configured)
* You initiate bulk AI regeneration using Midjourney
What data is sent:
* Text prompts (generated from your post titles or custom prompts)
* API authentication credentials (your API key, server ID, channel ID)
* Image generation parameters (size preferences)
* NO personal user data, website content, or visitor information is transmitted
Data retention: Midjourney may retain API request data and generated images according to their policies. Generated images are downloaded to your WordPress site and stored locally.
Required credentials: You must provide your own Midjourney API credentials including API key, Discord server ID, and channel ID.
Service information:
* Service Provider: Midjourney, Inc.
* Terms of Service: https://docs.midjourney.com/docs/terms-of-service
* Privacy Policy: https://docs.midjourney.com/docs/privacy-policy
* Documentation: https://docs.midjourney.com/
User Control and Consent
You maintain complete control over external service usage:
* AI services are disabled by default and must be explicitly enabled
* You can choose to use traditional thumbnail regeneration without any AI services
* Each AI generation action requires your explicit action or configuration
* You can disable AI services at any time in the plugin settings
* Generated images are stored locally on your WordPress installation
No data is sent to external services if:
* You don』t configure API keys for AI services
* You choose 「Use First Image in Content」 method for featured images
* You use only traditional thumbnail regeneration features
* AI generation features are disabled in settings
Data Processing and Compliance
GDPR Compliance:
* This plugin does not process personal data of your website visitors
* Only site administrators who configure and use the plugin interact with external AI services
* Generated images and operation logs are stored in your WordPress database
* You can delete all plugin data by deactivating and removing the plugin
Your Responsibilities:
* Ensure you have valid licenses/subscriptions for chosen AI services
* Review and comply with each AI service』s terms of service and privacy policies
* Ensure you have appropriate rights to generate derivative images from your content
* Monitor your API usage and associated costs with each service provider
For questions about data handling by AI services, please contact the respective service providers directly using the links provided above.
Support
For support, feature requests, or bug reports, please visit our support forum or contact us through the plugin』s settings page.
Technical Details
Database Tables:
* wp_aitm_statistics – Stores generation statistics and logs for both thumbnail regeneration and featured image generation
* wp_aitm_cron_queue – Stores queued tasks for background processing
WordPress Hooks:
* aitm_capability – Filter to change required user capability
* aitm_ai_services – Filter to add custom AI services
* aitm_settings – Filter to modify default settings
REST API Endpoints:
* /wp-json/aitm/v1/regenerate/{id} – Regenerate specific attachment
* /wp-json/aitm/v1/statistics – Get generation statistics
* /wp-json/aitm/v1/test-ai-service – Test AI service connection
* /wp-json/aitm/v1/generate-featured-image – Generate featured image for post
AJAX Actions:
* aitm_regenerate_thumbnails – Regenerate thumbnails
* aitm_generate_featured_image – Generate featured image
* aitm_get_statistics – Get statistics data
* aitm_save_settings – Save plugin settings
* aitm_test_ai_service – Test AI service connection
Development
Contributing:
We welcome contributions! Please see our GitHub repository for development guidelines and contribution instructions.
Code Standards:
* Follows WordPress Coding Standards
* Uses proper sanitization and validation
* Implements proper nonce verification
* Follows OOP principles
Testing:
* Compatible with WordPress 5.0+
* Tested with PHP 7.4+
* Cross-browser compatibility
* Mobile responsive design
License
This plugin is licensed under the GPL v2 or later.
Credits
- Built with WordPress REST API
- Uses modern JavaScript (ES6+)
- Responsive CSS Grid and Flexbox
- AI service integrations
- WordPress best practices
Roadmap
Planned Features:
* Additional AI service integrations (Stable Diffusion, etc.)
* Advanced image analysis and content recognition
* Custom prompt templates and presets
* Batch optimization tools for large sites
* Performance improvements and caching
* Enhanced error handling and recovery
* Image style consistency features
* Bulk featured image generation for existing content
Future Versions:
* Version 1.1: Additional AI services and improved UI
* Version 1.2: Advanced analytics and reporting
* Version 1.3: Performance optimizations and caching
* Version 2.0: Major feature additions and workflow improvements
Contact
For questions, support, or feature requests, please contact us through the WordPress.org support forums or visit our website.
Donate
If you find this plugin helpful, please consider making a donation to support continued development and maintenance.
Acknowledgments
Thanks to the WordPress community, AI service providers, and all contributors who make this plugin possible.






