Skip to content

Automatically add WordPress image attributes such as image title, image caption, description and alt txt from image filename. This WordPress plugin can update image attributes for both new images and existing images in the media library.

License

GPL-2.0, GPL-2.0 licenses found

Licenses found

GPL-2.0
LICENSE
GPL-2.0
license.txt
Notifications You must be signed in to change notification settings

ap-coder/Auto-Image-Attributes-From-Filename-With-Bulk-Updater

 
 

Repository files navigation

Auto Image Attributes From Filename With Bulk Updater

Automatically Add Image Title, Caption, Description And Alt Text From Filename. Includes a bulk updater to update existing images in the Media Library

The plugin can update image attributes for both new images and existing images in the media library.

Image alt text and title is critical for your image SEO and will help users discover your images (and there by your website) in Google / Yahoo / Bing image search.

Proper alt text also helps people who are blind or who have low vision understand your images there by improving the accessibility of your website. This will open up your website to a new segment of visitors and increase your traffic.

With this plugin you can:

  • Set the image filename as the image Title.
  • Set the image filename as the image Caption.
  • Set the image filename as the image Description.
  • Set the image filename as the image Alt Text. This was a default feature in WordPress before 4.7. The plugin restores this essential feature which is great for SEO.
  • Insert Image Title into post HTML. WordPress stopped adding Image Titles to images since WordPress 3.5. The plugin restores it.
  • Remove hyphens from the image filename.
  • Remove underscores from the image filename.
  • Remove full stops from filename.
  • Remove commas from filename.
  • Remove all numbers from filename.
  • Choose to turn off any of the above mentioned features.

With the bulk updater you can:

  • Set the image filename as image Title, Caption, Description and Alt Text after removing hyphens and underscores from the filename.
  • Update any number of images in your Media Library in one click.

If your image filename is My_image-name.jpg, your Image Title, Caption, Description And Alt Text will be My image name.

The plugin settings and bulk updater are in WordPress Admin > Settings > Image Attributes. Here you can choose which attributes to update for NEW uploads.

Please remember to take a database backup before running the bulk updater. The bulk updater updates ALL attributes for existing images in the Media Library and ignores the settings set for NEW uploads.

Image Attributes Pro

A pro add-on is now available for the plugin. Check out Image Attributes Pro.

The pro add-on can update the image attributes from not just the image filename, but also from the post / page / product / custom post type title. You can fine tune the bulk updater settings and even clean up the actual image filename.

What the pro add-on you get these additional features:

  • Use post title as title text. If image is not attached to a post, image filename will be used instead.
  • Use post title as alt text. If image is not attached to a post, image filename will be used instead.
  • Use post title as caption. If image is not attached to a post, image filename will be used instead.
  • Use post title as description. If image is not attached to a post, image filename will be used instead.
  • Remove apostrophe ( ' ) from filename
  • Remove tilde ( ~ ) from filename
  • Remove plus ( + ) from filename
  • Remove pound ( # ) from filename
  • Remove ampersand ( & ) from filename
  • Remove round brackets ( ( ) ) from filename
  • Remove square brackets ( [ ] ) from filename
  • Remove curly brackets ( { } ) from filename
  • Filter words or characters from filename
  • Filter filename with regex
  • convert image attributes to lowercase
  • CONVERT IMAGE ATTRIBUTES TO UPPERCASE
  • Use title casing for image attributes. First Letter Of Each Word Will Be Capitalized.
  • Use sentence casing for image attributes. First letter of a sentence will be capitalized.
  • Clean the actual image filename after upload.
  • Choose to turn off any of the above mentioned features.

With the pro bulk updater you can:

  • Update image title and alt text for images inserted into posts and custom post types. Not just the media library.
  • Fine tune all settings. Choose what to update.
  • Update image titles / alt text in media library only. Image titles / alt text in existing posts will be left unchanged.
  • Update image titles / alt text in media library and existing posts.
  • Update image titles / alt text in existing posts only if no title / alt text is set. All image titles/ alt text in media library will be updated.
  • Choose to turn off any of the above mentioned features.
  • Modify auto generated image attributes using the iaffpro_image_attributes filter.
  • Choose specific post types to bulk update using the iaffpro_included_post_types filter.
  • Disable updating of attributes in media library completely using the iaffpro_update_media_library filter.

For screenshots, FAQ and further details, please see the product website.

Installation

To install this plugin:

  1. Install the plugin through the WordPress admin interface, or upload the plugin folder to /wp-content/plugins/ using ftp.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. Go to WordPress Admin > Settings > Image Attributes.

Frequently Asked Questions

Will this plugin update existing images in the media library?

Yes, the plugin will update image Title, Caption, Description And Alt Text from the image filename for both existing images in the media library and new uploads.

I need more features. Can I hire you?

Please checkout the Image Attributes Pro add-on to see if it suits your requirement.

About

Automatically add WordPress image attributes such as image title, image caption, description and alt txt from image filename. This WordPress plugin can update image attributes for both new images and existing images in the media library.

Resources

License

GPL-2.0, GPL-2.0 licenses found

Licenses found

GPL-2.0
LICENSE
GPL-2.0
license.txt

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 96.3%
  • CSS 2.8%
  • JavaScript 0.9%