AI Image Tagger

"AI Image Tagger," is a WordPress plugin designed to automatically tag images in posts, pages, and the media library using the Gemini AI API.



Here's a breakdown of its functionalities:

  • Automatic Image Tagging: It uses Google's Gemini AI API to generate descriptive tags (alt text) for images.
  • Authentication Options: The plugin supports two methods for authenticating with the Gemini AI API:
    • API Key: A simpler method using an API key obtained from Google AI Studio.
    • OAuth 2.0: A more advanced method requiring a Client ID and Client Secret from Google Cloud Console, along with an authorization flow.
  • Image Scanning: It can scan posts, pages, or the entire media library to identify images that are either too large (over 2MB) or are missing alt text.
  • Manual Tagging: Users can manually add or edit alt text for images directly within the plugin's interface.
  • Bulk Tagging: After scanning, users can select multiple images and tag them all at once using the AI.
  • Error Handling and Debugging: The plugin includes error handling for API calls and an optional debug mode to log detailed API errors.
  • User Interface: It adds a top-level menu item "AI Image Tagger" and a submenu "API Settings" to the WordPress admin panel for configuration and operation.
  • OAuth Redirect Handling: It manages the OAuth 2.0 redirect process to exchange the authorization code for an access token and refresh token.





Comentarii

Postări populare de pe acest blog

Mallware scanner plugin - securewordpress

WordPress sandbox installations on remote VPS servers

A conceptual WordPress plugin to display website statistics and provide advice, leveraging Google Site Kit.