Swap the photos on a block editor page
Replace tired photos on a page made in the block editor with free photos or your own, keeping the layout, with one approval for the live page.
- Difficulty
- Intermediate
- Time
- about 15 min
The photos on my page [page name or address] look dated. List the images on it and suggest a replacement for each: free photos showing [subject, e.g. a bright, modern dental clinic], or my own photos, for which you give me an upload link. Keep the same places and sizes in the layout. Show me your picks first, then change the page in one go after my approval.
Already connected?
If SAR is already in your AI app, this is enough:
Suggest new photos of [subject] for [page] and swap them after I approve.
What happens
- The AI app reads the page in full and lists its image blocks.
- It searches free photos for what you described, or gives you a link to add your own from your device.
- It adds the photos you chose to the media library, with a description as alt text and the photographer credited.
- It swaps the images in the page's content, keeping the layout; on a live page the change waits for your approval in SAR, and the previous version is kept.
- It takes a screenshot of the page with the new photos.
Approvals involved
Worked out from the tools this recipe uses.
wordpress_get_postGet a post or pageNonesar_search_imagesSearch free photosNonewordpress_add_unsplash_imageAdd a free photoNonewordpress_upload_from_deviceAdd a file from your deviceNonewordpress_update_postEdit a post or pageApproval once livesar_screenshot_pageScreenshot a pageNone
What you get
A page that looks current, with photos you picked and credits where they are due.
Related recipes
- Design & builders · about 20 minA new page in GenerateBlocks or Kadence Blocks, modelled on one you haveGet a new draft page in the same GenerateBlocks or Kadence Blocks style as an existing page, with your own content, and a preview before it goes live.
- Design & builders · about 10 minPut your new logo and browser-tab icon on the siteAdd your logo and icon files from your own device and set them as the site's logo and site icon, each change approved by you and undoable.
- Design & builders · about 10 minChange a hero's title, button and image kept in Advanced Custom FieldsWhen your theme builds the top of a page from ACF fields, change the title, button text, link or image through those fields, with your approval on a live page.
Try it on your own site
Install the plugin, add SAR to your AI app and paste the prompt. Free to start.