Skip to main content
Cookbook Content

Localize hotlinked images with AI

Import images hotlinked from other sites into your own Media Library and relink the page, in one pass.

Difficulty Beginner
Time ~10 min
Tools upload_media, rest_api

Prerequisites

A connected site and the page or post with hotlinked images.

The prompt
On [page or post title/URL], find every image whose src points at another website (not my domain).

For each one: download it into my Media Library, keeping a descriptive filename and the original alt text. Then update the page so every image uses my local copy instead of the external URL.

Work on the page as it is, do not publish anything new. When you are done, list each image with its old external URL and its new local URL so I can spot-check.

Already connected to WPVibe?

Skip the copy-paste. Just ask your AI for the “Localize hotlinked images with AI” recipe, or describe the task, and WPVibe runs these steps on your own site.

Images hotlinked from another site are borrowed time: the other site redesigns, renames a file, or blocks hotlinking, and your page quietly fills with broken images. The fix, downloading each one, uploading it to your Media Library, and relinking the page, is exactly the kind of tedious job that gets postponed forever.

WPVibe’s media tool downloads an image straight from a URL into your Media Library, so your AI can sweep a page in one pass: find every external image, import each one, and rewrite the page to use your local copies. Alt text stays put, and the block markup is untouched apart from the image URLs.

Paste the prompt into your AI client with WPVibe connected and swap in the page you want cleaned up. It works for posts, pages, and custom post types, one page at a time across your whole site.

Outcome

Every image on the page is served from your own Media Library. No more broken images when the other site moves or blocks hotlinking.