{"id":1134,"date":"2020-01-17T20:51:59","date_gmt":"2020-01-17T15:21:59","guid":{"rendered":"https:\/\/imageattributespro.com\/?p=1134"},"modified":"2022-03-24T08:53:48","modified_gmt":"2022-03-24T03:23:48","slug":"image-attributes-pro-behavior-same-image-on-multiple-posts","status":"publish","type":"post","link":"https:\/\/imageattributespro.com\/image-attributes-pro-behavior-same-image-on-multiple-posts\/","title":{"rendered":"How Will Image Attributes Pro Behave When Same Image Is Used On Multiple Posts\/Products"},"content":{"rendered":"\n

WordPress stores image attributes namely Image Title, Image Alt Text and Image Caption in two locations. <\/p>\n\n\n\n

One set of image attributes is stored along with the image, which can be read from the media library. <\/strong><\/p>\n\n\n\n

\"Image<\/figure><\/div>\n\n\n\n

Image Attributes are also embedded within the post content. <\/strong><\/p>\n\n\n\n

\"Image<\/figure><\/div>\n\n\n\n

How Image Attributes Pro behaves will depend on whether you use image filename or post title for image attributes. <\/strong><\/p>\n\n\n\n

If you choose to use image filename for the image attributes, then Image Attributes Pro will use the image filename everywhere. No matter how many times the image is used, it’s filename is always the same. Hence it will be same everywhere. <\/p>\n\n\n\n

However, if you choose to use the “Post Title” (also applies to Product Title for WooCommerce<\/a>) things are a bit different. Let’s consider a few cases. <\/p>\n\n\n\n

Image Attributes are set to Post Title, but the image is used only once<\/h2>\n\n\n\n

This is easy. Then the title of the post or product to which the image is uploaded will be used for the image both in the media library and within the post content. <\/p>\n\n\n\n

What if Image Attributes are set to Post Title and the image is used multiple times? <\/h2>\n\n\n\n

WordPress attaches images to a specific post and this is displayed in the Media Library. Usually this will be post to which the image was originally uploaded to. <\/p>\n\n\n\n

Images can also be “Unattached” which typically happens when images are uploaded to the Media Library directly or imported using third party plugins. <\/p>\n\n\n\n

\"Media
Media Library (list view) showing Attached and Unattached images.<\/figcaption><\/figure>\n\n\n\n

For images that are attached to a post or product: <\/strong><\/p>\n\n\n\n