Smart Image Alt Text

外掛說明

Smart Image Alt Text is a lightweight, simple WordPress plugin that automatically generates alt text for images when uploaded.

Key Features:
* Automatically fills alt text for images without manual input.
* Uses the post title first, then falls back to the filename if the title is empty.
* Improves website SEO and accessibility.
* Works with all standard WordPress image uploads.
* Fully compliant with WordPress.org coding standards.
* Future-proof and ready for translations.

螢幕擷圖

安裝方式

  1. Upload the ‘smart-image-alt-text’ folder to the ‘/wp-content/plugins/’ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Upload an image to your media library. Alt text will be automatically filled.

常見問題集

Can I overwrite existing alt text?

Yes, you can. The plugin only automatically fills alt text when the field is empty. If you later decide to change or add custom alt text, you can always go to your WordPress Media Library and manually edit the alt text for any image. The plugin will not overwrite your manual changes.

Does it work with all image types?

Yes, it works with JPEG, PNG, GIF, WebP, and all standard WordPress image types.

What if my filename is not very descriptive? (e.g., IMG_1234.jpg)

The plugin’s primary goal is to provide a fallback to avoid empty alt tags. While it will use IMG_1234 as a fallback, it’s a good practice to rename your image files before uploading them for better SEO. For example, my-new-puppy.jpg would result in the alt text “My new puppy.”

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Smart Image Alt Text〉的開發相關工作。

參與者

將〈Smart Image Alt Text〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.1.1

  • Initial public release.
  • Automatically fills alt text from the post title or filename.
  • Improved code readability and function prefixing for better uniqueness.
  • Wrapped filter hook inside ‘plugins_loaded’ for safer execution.