Hi @extinctdisney
I’m glad you’re enjoying the plugins!
To update your image metadata, back-up your site first (this is an important step when using any plugin that alters data on your website), and then take these steps:
- Export your posts while including the Media -> Images -> Filename element: https://d.pr/i/xMQusj, and the image metadata fields you want to update.
- Download the CSV file, add the alt tags/titles/etc to the file, and save.
- Import the file using the “Import with WP All Import” link next to your export on the Manage Exports page. On step 2, use the “Use images currently in the Media Library” option and fill in all of the metadata fields: https://d.pr/i/bmpiMy, and make sure to update all images in the import settings on the final step: https://d.pr/i/DCJuEd.
That’s it. Let me know if you have any questions.
Thanks so much for the response! I should maybe specify that I am looking to do this for all files in my media library, not just those directly associated with a post. I am using a gallery plugin on each post so ultimately, the only image associated with each post directly, and thus that appears in the suggested export, is the featured image. Beyond that, there could be 20 photos in a gallery that this method doesn’t pull.
I tried the galleries export function but alas, while that does export the full list of my galleries, it doesn’t also export the images inside them.
Any way to export the actual media library in full without a post association by chance?
Hi @extinctdisney
Any way to export the actual media library in full without a post association by chance?
You could use WP_Query Results (see https://www.wpallimport.com/documentation/export/wp-query-results/) to export information about the images in the Media Library:
'post_type' => 'attachment',
'post_status' => 'inherit'
But, unfortunately, it’s not currently possible to import directly into the Media Library, so you wouldn’t be able to update their metadata.
Thanks so much! I will work to do everything manually. Once it’s done I suppose I won’t have to do it again. 🙂