Fix an agent that cannot set alt text or a featured image
Your agent reports it lacks permission to write alt text or a featured image. It does not. Both live under keys the custom-field abilities never reach, and two media abilities do the job.
10 recipes in Media.
Your agent reports it lacks permission to write alt text or a featured image. It does not. Both live under keys the custom-field abilities never reach, and two media abilities do the job.
The upload ability carries an alt parameter, so a new image can arrive with its description already written instead of joining the pile of blanks you fix months later.
Fill in blank captions and descriptions across your media library, with a preview you approve before anything saves.
Re-encode chosen images to WebP, upload them as new attachments, and swap the references in your posts, one approved batch at a time.
Add a labelled download for a file to a post, with an optional preview image the agent uploads. You add the file itself to the Media Library first.
One read-only prompt that sizes up your media library: totals by file type, the big files, and which items are missing captions or descriptions.
Find every post with no featured image, review the list, then set one on each in small batches, pulling from your library or from images you supply.
Find library images with no alt text, propose descriptive alt text for each, and write only the ones you approve.
Find images a post pulls from other people's servers, bring them into your own media library, and swap the references, with your approval first.
Point the agent at an image URL and it fetches the file, uploads it to your media library, and sets it as a post's featured image after you approve.