Auto Image Attributes From Filename With Bulk Updater

Description

Automatically add Image attributes such as Image Title, Image Caption, Description And Alt Text from Image Filename.

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

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.

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

  • 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.
  • 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.
  • 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.
  • 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.

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

Screenshots

  • The settings page in WordPress Admin > Settings > Image Attributes with default settings.
  • Preview of the Advanced settings screen. Seen only when the preview is enabled.
  • Preview of the Bulk Updater settings screen. Seen only when the preview is enabled.
  • Bulk Updater

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.

FAQ

Installation Instructions

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.
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. If not, please get in touch via my contact form with a brief description of your requirement and budget for the project. I will be in touch shortly.

This plugin saved me a lot of time, how can I show my appreciation?

I am glad to hear that! You can either upgrade to pro or leave a rating to motivate me to keep working on the plugin.

Reviews

no competitors

This is the only one that enables you to add missing tags to your images in one go, simple! Other plugins are either poor or offer too many options, or have conflicts. This one is very well coded and the author pays great attentions to users feedback/requests/support.

What an Amazing Plugin

Plugin support was very fast, I’m very grateful to him, waiting to support his plugin that support bulk replacement of alt tags

Fast & Simple Time Saver

I often add 15 to 25 images to my blog at a time. Adding things like caption, alt text, and description one at a time for each image is just time consuming, but I do it. Wouldn’t it be nice to automate the process? Yes and this plugin does it. Download, install, then go to settings to decide how you want to handle meta data for your images. Save settings then import images into media and see the magic. This plugin will save me a LOT of time! Great plugin!

Exactly perfectly what I was looking for…

Thank you, thank you, this was exactly perfectly what I was looking for… The batch process works exactly as described, and removes both dashes and underscores from images already in the Library and nicely adds it to title, alt text and description, while leaving slug as is… For newly uploaded images it does same, filling in title, alt text and description with it…

It is nicely thought out, quick, with a well designed easy to used interface…

Grateful and kind regards…

Read all 6 reviews

Contributors & Developers

“Auto Image Attributes From Filename With Bulk Updater” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.4

  • Date: 22.November.2017
  • NEW: Global switch to enable or disable the plugin.
  • NEW: Test button.
  • NEW: Stop Bulk Updater button.
  • NEW: Support tab.
  • Improvement: Changed source of filename from guid to wp_get_attachment_url() to prevent conflicts with other plugins. GUID was being replaced by other plugins. Thanks to @niresh12495 for [bringing this up] (https://wordpress.org/support/topic/image-title-description-and-alt-tag-replaced-with-attachment-idnumber/).
  • Impreovement: Added checks to check if attachment is image before processing.
  • FIX: Added boolval() function for backwards compatibility with servers with PHP older than PHP 5.5.
  • Added preview of premium options that ship with Image Attributes Pro
  • UI Improvements.
  • Code improvements.

1.3

  • Date: 17.August.2017
  • Improved the architecture of the plugin laying foundation for future updates. Utilizing my starter plugin framework
  • Bug fix: For images that had EXIF data, EXIF data was used instead of filename. Props to @mathieupellegrin for reporting this.
  • NEW: Added option to Insert Image Title into HTML. WordPress stopped including image titles since 3.5. Code from Restore Image Title plugin was used.
  • NEW: Remove full stops ( . ) from filename.
  • NEW: Remove commas ( , ) from filename.
  • NEW: Remove all numbers ( 0-9 ) from filename.
  • NEW: Added a warning and user confirmation before while clicking “Run Bulk Updater” button to prevent accidental clicks.
  • UI Improvement: Cleaned up the interface and moved the Bulk Updater to its own tab.
  • UI Improvement: Bulk updater log is now displayed in a neat box instead of just printing the results on the page.
  • Parts of the code was updated for more efficiency and faster processing.
  • Tested on WordPress 4.8.1. Result = pass.

1.2

  • Date: 15.July.2017
  • Added: Character filter options. Plugin now removes hyphens and underscores.
  • Bug Fix: Minor bug fix.

1.1

  • Date: 4.July.2017
  • Added: Options to choose individual image attributes for NEW uploads.

1.0

  • Date: 4.July.2017
  • First release of the plugin.