<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Lidor Asulin</title>
    <description>The latest articles on DEV Community by Lidor Asulin (@lidor590).</description>
    <link>https://dev.to/lidor590</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4065883%2F23a5669b-97b3-405f-b61e-7b0cf7cbf2ae.png</url>
      <title>DEV Community: Lidor Asulin</title>
      <link>https://dev.to/lidor590</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/lidor590"/>
    <language>en</language>
    <item>
      <title>How I built a free WordPress plugin that auto-generates image alt text using AI</title>
      <dc:creator>Lidor Asulin</dc:creator>
      <pubDate>Thu, 06 Aug 2026 12:58:02 +0000</pubDate>
      <link>https://dev.to/lidor590/how-i-built-a-free-wordpress-plugin-that-auto-generates-image-alt-text-using-ai-38fa</link>
      <guid>https://dev.to/lidor590/how-i-built-a-free-wordpress-plugin-that-auto-generates-image-alt-text-using-ai-38fa</guid>
      <description>&lt;h2&gt;
  
  
  The problem I kept running into
&lt;/h2&gt;

&lt;p&gt;Every time I ran an accessibility or SEO audit on a WordPress site, &lt;br&gt;
the same issue came up: 60-80% of images had no alt text.&lt;/p&gt;

&lt;p&gt;It's not that people don't care. Writing alt text for hundreds of &lt;br&gt;
images manually is genuinely painful — so people just skip it.&lt;/p&gt;

&lt;p&gt;I decided to fix this once and for all.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I built
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;EzAlt AI&lt;/strong&gt; — a free WordPress plugin that generates alt text &lt;br&gt;
automatically using AI vision models.&lt;/p&gt;

&lt;p&gt;Here's what it does:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Bulk generation&lt;/strong&gt; — scan your entire Media Library and generate 
alt text for every image missing it, in one click&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Auto-generate on upload&lt;/strong&gt; — every new image gets alt text 
automatically&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Per-image generation&lt;/strong&gt; — generate directly from the Media Library 
attachment page&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Never overwrites&lt;/strong&gt; — if an image already has alt text, it's skipped&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Context-aware&lt;/strong&gt; — the plugin sends the parent post title, 
categories, and content type (including WooCommerce products) to the 
AI, so the output is relevant — not generic&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Tech stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;PHP&lt;/strong&gt; (vanilla, no framework)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OpenRouter&lt;/strong&gt; for routing requests to vision AI models&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Freemius&lt;/strong&gt; for optional credit pack licensing&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;WordPress cron&lt;/strong&gt; for bulk jobs (no Action Scheduler dependency)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;API requests are idempotent — retries never double-charge credits.&lt;/p&gt;

&lt;h2&gt;
  
  
  The result
&lt;/h2&gt;

&lt;p&gt;A plugin that works out of the box. Install → activate → done.&lt;br&gt;
Free starter credit included, no card required.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;Free on WordPress.org:&lt;br&gt;
👉 &lt;a href="https://wordpress.org/plugins/altmagic-ai-image-alt-text/" rel="noopener noreferrer"&gt;https://wordpress.org/plugins/altmagic-ai-image-alt-text/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Happy to answer any questions about the implementation!&lt;/p&gt;

</description>
      <category>ai</category>
      <category>php</category>
      <category>webdev</category>
      <category>a11y</category>
    </item>
  </channel>
</rss>
