Add image description, caption and alt text during image importing
By default, when your product images are imported into your Media Library they are imported with the product's title as the image's title.
Here's how to add image's description, caption and alt text during the image importing process.
Heads-up!
This will only work for new image imports. If the image already exists in your media library, this will not update the image's information.
- 1
-
Create a custom plugin
If you haven't done so already, create a custom plugin.
- 2
-
Add the following code
Add the following code to your custom plugin and edit as necessary.
- 3
-
Save
Save your changes
Now new images will contain more information in their meta fields.