This project is not covered by Drupal’s security advisory policy.

Auto Alt is a Drupal module that automatically generates alternative text for images using the ChatGPT API. It enhances accessibility and SEO by providing meaningful descriptions for images without manual input, saving time and improving content quality for Drupal site builders and content creators.

Features

  • Automatic alt text generation for images upon upload
  • Manual regeneration option for existing images
  • Bulk generation for multiple images
  • Seamless integration with Drupal's media management system
  • Configurable API settings for ChatGPT integration
  • Improves site accessibility and SEO with minimal effort

This module is ideal for content-heavy sites, e-commerce platforms, or any Drupal site looking to improve image accessibility and search engine optimization. It's particularly useful for sites with large image libraries or frequent image uploads.

Post-Installation

After installing the Auto Alt module:

  1. Go to Configuration > Media > Auto Alt Settings (/admin/config/media/auto_alt).
  2. Enter your ChatGPT API key and configure other settings:
    • API Endpoint
    • Model to use
    • Toggle automatic generation on upload
  3. Visit your Media library or create a new image media entity to see the module in action.
  4. Use the "Regenerate Alt Text" button on image edit forms to manually generate or update alt text.
  5. For bulk operations, go to the Media overview page and use the "Generate Alt Text for Selected Images" action.

Additional Requirements

  • Drupal 10.x
  • PHP 8.1 or higher
  • ChatGPT API key (obtainable from OpenAI)
  • Guzzle HTTP Client (usually included with Drupal core)
  • Media (Drupal core) for enhanced media management
  • Pathauto for SEO-friendly URLs for media entities
  • Metatag for additional SEO benefits

For more information, check out our GitHub repository.

Supporting organizations: 

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • Project categories: Accessibility
  • Created by austin.amento on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases