=== Bilder Alt ===
Contributors: bluebranch
Donate link: https://app.bilder-alt.de/
Tags: alt-text, seo, image, ai, accessibility
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.1.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Generate SEO-optimized and accessible alt texts for your images using AI – directly in WordPress.

== Description ==

**Bilder Alt** automatically creates SEO-friendly and accessible alt texts for all images in your WordPress media library. The plugin uses state-of-the-art artificial intelligence to generate accurate and relevant image descriptions – fully automated.

**Key Benefits:**

- Save time by automating alt text creation
- Improve website accessibility (WCAG-compliant)
- Enhance visibility in Google Image Search
- Seamless integration into the WordPress media library
- Manual or automatic generation options
- Cloud-based: No server resources needed

**Note:** A free API key is required. You can register at [https://app.bilder-alt.de](https://app.bilder-alt.de) and receive 25 free credits.

== Installation ==

1. Download and unzip the plugin.
2. Upload the folder to `/wp-content/plugins/` or install it via the WordPress Plugin Directory.
3. Activate the plugin via the “Plugins” menu in your WordPress dashboard.
4. Go to **Settings > Bilder Alt**, enter your API key, and start generating alt texts in your media library.

== Screenshots ==

1. API settings page
2. “Generate Alt Text” button in the media library
3. Automatically generated alt text shown in the image details

== Frequently Asked Questions ==

= Is the plugin free to use? =
Yes, the plugin is free. You receive 25 credits after registration. Additional credits can be purchased at [https://app.bilder-alt.de](https://app.bilder-alt.de).

= Which image formats are supported? =
The plugin supports PNG, JPEG, JPG, GIF, and WEBP formats.

= Can I edit the generated alt texts? =
Yes, you can review and adjust the generated alt texts manually after creation.

= Are my images uploaded or stored on external servers? =
No, your images are not stored on the bilder-alt.de server. Only temporary access is required for analysis.

== External Services ==

This plugin connects to the external API at [https://app.bilder-alt.de](https://app.bilder-alt.de) in order to automatically generate alt texts for uploaded images using AI.

When used, the plugin sends the following data to the API:
- Image files (temporarily for analysis)
- Optional keywords (if configured)
- Your personal API key (for authentication)

The API responds with:
- AI-generated alt texts
- Current credit balance
- Supported languages

This service is provided by BlueBranch GmbH. For legal information, please refer to:
- [Imprint](https://www.bluebranch.de/impressum)
- [Privacy Policy](https://www.bluebranch.de/datenschutzerklaerung)

== Changelog ==

= 1.1.2 =
* Reduced maximum bulk processing size to 2 simultaneous requests to avoid API throttling.
* Set default bulk processing size to 2.

= 1.1.1 =
* Fixed various minor bugs and improved UI consistency.
* Improved stability of the media overview page.

= 1.1.0 =
* Added a dedicated "Bilder Alt" media overview page for advanced bulk management.
* Implemented bulk alt text generation with options to process selected, all, or only missing descriptions.
* Integrated real-time credit balance display and live updates during processing.
* Added configurable settings for images per page and bulk processing batch size.
* Improved UI with loading spinners, row status highlighting, and credit-based button states.
* Optimized image retrieval with deterministic sorting by date and ID.
* Enhanced navigation with top and bottom pagination and item counts.
* Added automatic process abortion when credit balance is exhausted.
* Refactored JavaScript into modular external files for better performance and maintainability.

= 1.0.2 =
* Fix missing reload files after bulk edit

= 1.0.1 =
* Add new image formats and assets for the plugin

= 1.0.0 =
* Initial release
* Manual and automatic alt text generation
* Support for multiple image formats
* API integration with key management
* Renamed internal files, functions, constants, and config variables for consistency
* Replaced direct cURL usage with WordPress HTTP API (`wp_remote_post`) and `http_api_curl` hook
* Added `if (!defined('ABSPATH')) exit;` to all PHP files for basic security
* Added `== External Services ==` section to clarify API usage and data handling
* Updated `Contributors` field with correct WordPress.org usernames

== Upgrade Notice ==

= 1.0.0 =
Initial release with manual and automatic alt text generation (API key required).
Refactored codebase: renamed functions and constants, replaced cURL with wp_remote_post + http_api_curl, improved WordPress compatibility. Security headers added.

== Further Information ==

For documentation, demos, and API access, visit [https://app.bilder-alt.de](https://app.bilder-alt.de).
Free 25 credits!

== License ==

This plugin is licensed under the GPLv2 or later.
