=== Instant Image Generator (AI Image by Gemini, Dall-E and One Click Image from Unsplash, Openverse, Pixabay, Pexels, Giphy) === Contributors: bdthemes, selimmw, abutalib, mohammaadfarid, muhammadasik, arafatakashakku Tags: ai image generator, stock photos, pixabay, pexels, unsplash Stable tag: 2.0.0 Requires PHP: 7.0 Requires at least: 5.0 Tested up to: 6.9 License: GPL3 License URI: http://www.gnu.org/licenses/gpl-3.0.html Search millions of stock photos, generate AI images with OpenAI & Gemini, browse GIFs, and import directly to your Media Library. == Description == **Instant Image Generator** is the most powerful and complete image management plugin for WordPress. Stop wasting time searching for images across multiple websites, downloading them to your computer, and re-uploading to WordPress. With Instant Image Generator, you can **search, preview, and import millions of free images** directly into your WordPress Media Library β€” all without ever leaving your dashboard. πŸ” **Search across 5+ image sources** including Pixabay, Pexels, Unsplash, Openverse, and Giphy β€” all from a single, unified search bar. Or use the **AI-powered image generation** with OpenAI DALLΒ·E and Google Gemini Imagen to create completely unique images from text descriptions. ###USEFUL LINKS πŸ‘‡### **[Documentation](https://bdthemes.com/knowledge-base/ai-image/ai-image-generator/?utm_source=WordPress_Repository&utm_medium=Plugin_Page&utm_campaign=WordPress_to_AI_Image_Generator)** | **[Need Support?](https://bdthemes.com/support/)** https://youtu.be/cGmPFU_ju4s == πŸš€ Why Instant Image Generator? == Finding the right image for your blog post, page, or product shouldn't be a chore. Traditional workflows require you to open a new tab, search a stock photo website, download the image, switch back to WordPress, upload it, and then insert it. That's **6 steps** for a single image. With Instant Image Generator, it's just **2 steps**: Search β†’ Import. Done. Whether you're a blogger crafting your next viral post, an agency building client websites, a WooCommerce store owner adding product images, or a content creator who needs fresh visuals daily β€” this plugin transforms your workflow and saves you hours every week. **Instant Image Generator** integrates seamlessly into both the **WordPress Media Library page** and the **WordPress Media Modal** (the popup that appears when you click "Add Media" or set a Featured Image). This means you can access millions of images from anywhere in WordPress β€” while editing a post, creating a page, or managing your media. == ✨ Key Features == = πŸ” Global Search β€” One Search, All Sources = Search across **all enabled image providers simultaneously** with the Global Search tab. Type your keyword once, and instantly see results from Pixabay, Pexels, Unsplash, Openverse, and Giphy combined in a beautiful masonry grid. No more switching between tabs β€” find the perfect image faster than ever. = πŸ“Έ 5+ Free Image Sources = Access millions of royalty-free, high-quality images from the world's best stock photo libraries: * **🟣 Pexels** β€” Beautiful free stock photos curated by talented creators * **🟒 Pixabay** β€” Over 4.2 million free stock photos, illustrations, and vectors * **⬛ Unsplash** β€” The internet's source for freely-usable high-resolution photos * **🟠 Openverse** β€” Open-licensed images from WordPress, Flickr, NASA, Wikimedia, and 10+ more sources * **🎬 Giphy** β€” The world's largest library of animated GIFs with smart animation control = πŸ€– AI Image Generation = Create completely unique, one-of-a-kind images using artificial intelligence: * **OpenAI DALLΒ·E** β€” Generate stunning AI images from text prompts using OpenAI's latest image generation model * **Google Gemini Imagen 3.0** β€” Create photorealistic images with Google's cutting-edge Imagen 3.0 model with customizable size (512px to 2048px) and batch generation (1-4 images) = ⬇️ One-Click Import to Media Library = Every image you find can be imported directly to your WordPress Media Library with a single click. No downloading, no uploading, no FTP β€” just click "Import" and the image appears in your Media Library instantly, ready to use in posts, pages, and products. = πŸ–ΌοΈ WordPress Media Modal Integration = Access Instant Image Generator directly from the **WordPress Media Modal** β€” the popup that appears when you set a Featured Image, add media to a post, or use any media selector. A dedicated "Instant Images" tab appears right alongside "Upload Files" and "Media Library" for seamless workflow integration. = 🏷️ Smart Image Metadata = When importing images, the plugin automatically sets: * **Alternative Text** β€” Image title from the source for better SEO and accessibility * **Image Title** β€” Human-readable title for organization * **Caption with Attribution** β€” "Photo by [Author Name]" for proper credit * Each metadata field can be individually enabled or disabled in General Settings = πŸŽ›οΈ Advanced Filtering = Every image source has provider-specific filters to help you find exactly what you need: * **Pixabay** β€” Filter by Order (Popular/Latest), Type (Photo/Illustration/Vector), Category (20+ categories), Color (14 colors with visual swatches), and Orientation * **Openverse** β€” Filter by Source (WordPress, Flickr, NASA, SpaceX, Wikimedia, and 10+ more) and Orientation (Square/Tall/Wide) * **Unsplash** β€” Filter by Order (Latest/Relevant) * **Pexels** β€” Curated photo collections * **Giphy** β€” Trending GIFs = 🎬 GIF Animation Control = Giphy GIFs are displayed as still thumbnails by default to save bandwidth and reduce visual noise. Simply **hover over any GIF** to see it animate. A visual "GIF" badge indicates animated content. Preview modal shows the full-size animated version. = πŸ“‹ Batch Selection & Import = Need multiple images at once? Use the **batch selection** feature to select multiple images across any provider, then import them all to your Media Library in one operation with a beautiful progress indicator. = ❀️ Favorites & Bookmarks = Found an image you love but don't need right now? Add it to your **Favorites** with one click. Your bookmarked images are saved locally and accessible anytime from the dedicated Favorites tab. = πŸ” Search History = Your recent searches are automatically saved and displayed as suggestions when you click the search bar. Navigate search history with keyboard arrows and select with Enter for lightning-fast repeat searches. = πŸ‘οΈ Full-Size Image Preview = Click any image to open the **preview modal** with a large, high-resolution view. The modal features: * Full-size image display on a dark background * Sidebar with title, author info, and action buttons * Previous/Next navigation with keyboard arrow keys * Multiple import options (Original, Downsized, etc.) * Add to Favorites button * View Original source link = βš™οΈ Comprehensive Dashboard Settings = **General Settings:** * Max Image Upload Width & Height * Default Provider selection * Alternative Text auto-fill toggle * Image Title auto-fill toggle * Image Attribution (Caption) toggle * Media Modal tab visibility **Display Settings:** * Default View Mode (Grid/List) * Items Per Page (20-100 with slider) * Thumbnail Size (Small/Medium/Large) * Load More Mode (Auto Scroll / Manual Button) **Image Sources:** * Enable/disable individual providers * Drag-and-drop provider ordering * Global Search on/off toggle * Provider order reflects in Image Generator tabs **Custom Image Sizes:** * View all WordPress registered image sizes * Add custom image sizes with Name, Width, Height, and Crop * Delete custom sizes (WordPress defaults are protected) = 🎨 Beautiful, Modern UI = Built with **React** and **Tailwind CSS**, the plugin features a stunning, responsive interface that looks great on any screen size. Professional card-based layouts, smooth transitions, color-coded provider tabs, masonry image grids, and skeleton loading states provide a premium user experience. = πŸ”’ Secure & Lightweight = * All API communications secured with WordPress nonces * API keys stored securely in WordPress options * No external tracking or analytics * Loads assets only where needed * Clean, optimized React bundle == πŸ† Perfect For == * **πŸ“ Bloggers** β€” Find the perfect header image in seconds * **🏒 Agencies** β€” Build client websites faster with instant image access * **πŸ›’ WooCommerce Stores** β€” Add product images without leaving WordPress * **πŸ“° News & Magazine Sites** β€” Source images for articles quickly * **🎨 Designers** β€” AI-generate unique visuals from text descriptions * **πŸ“± Social Media Managers** β€” Find trending GIFs and images instantly * **πŸ‘¨β€πŸ’» Developers** β€” Add placeholder images during development == Check out our other Addons πŸ‘‘ == We appreciate your support of our best-seller products: * **[ZoloBlocks](https://wordpress.org/plugins/zoloblocks/)** πŸ†•β˜€οΈ β€” Advanced Gutenberg block plugin for powerful web design * **[Element Pack](https://wordpress.org/plugins/bdthemes-element-pack-lite/)** β€” All-rounder package for Elementor with 200+ widgets * **[Prime Slider](https://wordpress.org/plugins/bdthemes-prime-slider-lite/)** β€” Revolutionary slider builder addon for Elementor * **[Ultimate Post Kit](https://wordpress.org/plugins/ultimate-post-kit/)** β€” Best blogging addon for quality blog websites * **[Ultimate Store Kit](https://wordpress.org/plugins/ultimate-store-kit/)** β€” Complete eCommerce addon for WooCommerce * **[Pixel Gallery](https://wordpress.org/plugins/pixel-gallery/)** β€” Elementor-based gallery addon for stunning image galleries == Installation == Installing Instant Image Generator is quick and easy: = From WordPress Dashboard = 1. Navigate to **Plugins β†’ Add New** 2. Search for **"Instant Image Generator"** 3. Click **Install Now** and then **Activate** 4. Go to **AI Image β†’ Dashboard** to configure your settings 5. Navigate to **Media β†’ Image Generator** to start finding images! = Manual Installation = 1. Download the plugin ZIP file 2. Upload the `ai-image` folder to `/wp-content/plugins/` 3. Activate the plugin through the **Plugins** menu in WordPress 4. Configure your API keys in **AI Image β†’ Dashboard β†’ Image Sources** = API Key Setup (Optional) = * **Unsplash** β€” Get your free Access Key from [Unsplash Developers](https://unsplash.com/developers) * **Giphy** β€” Get your free API Key from [GIPHY Developers](https://developers.giphy.com/) * **OpenAI** β€” Get your API Key from [OpenAI Platform](https://platform.openai.com/api-keys) * **Gemini** β€” Get your free API Key from [Google AI Studio](https://aistudio.google.com/apikey) * **Pexels, Pixabay, Openverse** β€” No API key required! Works out of the box. https://youtu.be/cGmPFU_ju4s == Screenshots == 1. Global Search β€” Search across all image providers at once 2. Image Generator with Masonry Grid View 3. Image Preview Modal with Sidebar 4. Admin Dashboard β€” General Settings 5. Admin Dashboard β€” Image Sources with Drag & Drop Ordering 6. Admin Dashboard β€” Display Settings 7. AI Image Generation with OpenAI DALLΒ·E 8. AI Image Generation with Google Gemini 9. Pixabay Advanced Filters (Order, Type, Category, Color, Orientation) 10. WordPress Media Modal Integration β€” Instant Images Tab 11. GIF Animation Control β€” Hover to Play 12. Batch Selection and Import 13. Custom Image Sizes Management == Frequently Asked Questions == = 1. Do I need API keys to use this plugin? = **Not for all sources!** Pexels, Pixabay, and Openverse work completely **out of the box** with no API key required. You only need API keys for Unsplash, Giphy, OpenAI (DALLΒ·E), and Google Gemini. All API keys are free to obtain from their respective developer portals. The plugin works great even if you only use the free sources that don't require keys. = 2. Are the images free to use? Can I use them commercially? = Yes! All images from **Pixabay** and **Pexels** are released under their respective free licenses that allow commercial use without attribution (though attribution is appreciated). **Unsplash** images are free for commercial and non-commercial use. **Openverse** images carry Creative Commons licenses β€” check individual image licenses before commercial use. **Giphy** GIFs are subject to Giphy's terms of service. **AI-generated images** (OpenAI/Gemini) are subject to the respective AI provider's usage policies. = 3. How does the WordPress Media Modal integration work? = When the plugin is active and the "Media Modal" setting is enabled (it's ON by default), an **"Instant Images"** tab automatically appears in the WordPress media selector popup. This is the same popup that appears when you click "Add Media" in the classic editor, "Set Featured Image," or use any media selection button. You can search and import images directly from this popup without leaving the page you're editing. = 4. What happens when I import an image? = When you click "Import," the plugin downloads the image from the source and uploads it directly to your **WordPress Media Library**. The image is saved in your `/wp-uploads/` folder just like any manually uploaded image. Depending on your settings, the plugin can automatically set the **Alternative Text** (for SEO), **Title**, and **Caption** (with author attribution like "Photo by John Doe"). The filename is generated from the image title for clean, SEO-friendly URLs. = 5. Can I control what metadata is added to imported images? = Absolutely! In **AI Image β†’ Dashboard β†’ General Settings**, you'll find three toggle switches under "Image Metadata on Import": * **Alternative Text** β€” When ON, automatically sets the image's source title as the WordPress Alt Text (great for SEO and accessibility) * **Image Title** β€” When ON, sets the source title as the WordPress attachment title * **Image Attribution** β€” When ON, adds "Photo by [Author Name]" as the image caption Each toggle works independently, so you can enable or disable any combination you prefer. = 6. How does Global Search work? = Global Search is a powerful feature that searches **all your enabled image providers simultaneously**. When you type a keyword in the Global Search tab, the plugin sends requests to Pexels, Pixabay, Unsplash, Openverse, and Giphy at the same time and combines the results into a single masonry grid. Each image shows a provider badge so you know where it came from. If you disable a provider in your Dashboard settings, it's automatically excluded from Global Search results. = 7. How do I generate AI images with OpenAI or Gemini? = First, add your API key in **AI Image β†’ Dashboard β†’ Image Sources** (for OpenAI or Gemini). Then navigate to the **Image Generator** page and click the **OpenAI** or **Gemini** tab. Enter a descriptive text prompt (e.g., "A serene mountain lake at sunset with reflections") and click **Generate**. For Gemini, you can also choose the image size (512px, 1024px, or 2048px) and number of images (1-4). Generated images can be imported to your Media Library with one click, just like stock photos. = 8. Can I reorder the image source tabs? = Yes! Go to **AI Image β†’ Dashboard β†’ Image Sources**. You'll see all your providers listed as cards with drag handles. Simply **drag and drop** the cards to rearrange them, or use the **up/down arrow buttons** for precise positioning. The order you set here is reflected in the Image Generator page tabs. You can also enable or disable the **Global Search** tab separately with its own toggle at the top of the section. Click "Save Settings" to persist your changes. = 9. What is the GIF animation control feature? = To improve page performance and reduce visual clutter, **Giphy GIFs are displayed as still thumbnails by default**. When you hover your mouse over a GIF, it comes alive and starts animating. A small **"GIF"** badge with a play icon appears on each GIF card so you can easily identify animated content. In the full-size preview modal, GIFs always play at their full animation. This feature helps keep the gallery fast and responsive even when browsing hundreds of GIFs. = 10. Does the plugin slow down my website? = **No.** The plugin only loads its assets (JavaScript and CSS) on admin pages where they're needed β€” the Dashboard settings page, the Image Generator page, and admin pages where the WordPress Media Modal is available. It adds **zero frontend code** to your public-facing website. Your visitors will never notice the plugin is installed. The React-based interface is optimized for performance with lazy loading, debounced search, and efficient image rendering. == Changelog == = 2.0.0 [25th February 2026] = * Added: Complete plugin rebuild with React and Tailwind CSS for modern UI/UX * Added: Global Search β€” search across all image providers simultaneously * Added: Unsplash image source support * Added: Openverse image source support (WordPress, Flickr, NASA, SpaceX, Wikimedia, and more) * Added: Giphy GIF source with animation control (hover to play) * Added: Google Gemini Imagen 3.0 AI image generation * Added: WordPress Media Modal integration ("Instant Images" tab) * Added: Advanced provider-specific filters (Source, Orientation, Order, Type, Category, Color) * Added: Batch selection and import for multiple images * Added: Favorites and bookmarking system * Added: Search history with keyboard navigation * Added: Full-size image preview modal with sidebar and next/prev navigation * Added: Smart image metadata on import (Alt Text, Title, Caption with attribution) * Added: Individual toggle controls for Alt Text, Title, and Attribution metadata * Added: Drag-and-drop provider ordering in dashboard * Added: Global Search on/off toggle * Added: Display Settings tab (View Mode, Items Per Page, Thumbnail Size, Load More Mode) * Added: Custom Image Sizes management (add/delete custom WordPress image sizes) * Added: Professional admin dashboard with sidebar navigation * Added: Grid and List view toggle * Added: Infinite scroll with manual "Load More" button fallback * Added: Loading skeleton animations * Added: Responsive design for all screen sizes * Added: Generate Image from content in page/post * Improved: Image import now uses original source title for filename * Improved: Media library auto-refreshes after import in media modal * Improved: Provider tabs respect enabled/disabled state and custom ordering = 1.5.11 [1st December 2025] = * Updated: Made compatible with WordPress version 6.9 = 1.5.10 [17th November 2025] = * Updated: Made Compatible with WordPress 6.8.3 = 1.5.9 [11th May 2025] = * Updated: System improved = 1.5.8 [5th May 2025] = * Fixed: OpenAI avatar issue fixed * Updated: Modal design improved = 1.5.7 [22th April 2025] = * Added: Made Compatible with WordPress Version 6.8 * Added: Plugin page action menu settings added * Fixed: Pexels avatar issue fixed * Improved: Pexels image preview and upload by default original size * Updated: System improved = 1.5.5 [24th November 2024] = * Added: Image URL copy Button Added * Improved: Grid Layout Improved * Improved: Open AI Improved = 1.5.4 [13th November 2024] = * Added: New system added = 1.5.2 [9th November 2024] = * Fixed: Security issue fixed = 1.5.1 [20th August 2024] = * Updated: System improved = 1.5.0 [3rd July 2024] = * Added: Pexels Support added * Added: Pixabay Support added * Updated: System improved = 1.0.0 = * Initial Release == Upgrade Notice == = 2.0.0 = Major update! Complete rebuild with React UI, 5+ image sources, AI generation with OpenAI & Gemini, WordPress Media Modal integration, advanced filters, batch import, favorites, and much more. Backup recommended before upgrading.