On most websites, there are already some image attributes filled in. If you want to preserve existing image attributes (like image title and image alt text) and only want to add the missing ones, Image Attributes Pro can help.
To answer the question directly: No, Image Attributes Pro can be configured to preserve existing image title / alt text.
In this doc, we will look at how to save your existing image attributes. It’s easy!
- Make sure you are using Image Attributes Pro 1.4 or later.
- Head over to
Bulk Updater Settingstab of Image Attributes Pro.
- If you scroll down to
Image Title Settingsand
Image Alt Text Settingsyou will see a sub-section titled
Bulk Updater Behaviour
- To preserve existing Image Titles and only update missing image titles, select the option:
Update image titles in media library and posts only if no title is set. Existing image titles will not be changed.
- To preserve existing Image Alt Text and only add missing alt text, select the option:
Update alt text in media library and posts only if no alt text is set. Existing alt text will not be changed.
- Refer to the screenshot below.
If you are confused between
media library and
posts, then refer to this doc that explains how WordPress stores image attributes: Understanding How WordPress Store Image Attributes
How To Disable Media Library Updates
If you do not want the bulk updater of Image Attributes Pro to update any image attributes (title, alt text, caption or description) in the media library, even the empty ones, then use the iaffpro_update_media_library filter.
Add the following to the
functions.php of the active theme.
/** * Prevent Image Attributes Pro bulk updater from updating * image attributes in media library * * @author Arun Basil Lal * @link https://imageattributespro.com/codex/iaffpro_update_media_library/ */ add_filter( 'iaffpro_update_media_library', '__return_false' );