How to move featured images and embedded media in auto blog posts: Move the post content, then remap the media layer. In WordPress auto blog posts…
Last updated: November 29, 2026
Move the post content, then remap the media layer. In WordPress auto blog posts, featured images and embedded media often travel separately from the text, so a clean migration depends on matching image attachments, gallery blocks, and oEmbed URLs to the new site structure.
Key takeaways
- Featured images are not just pictures in the body; WordPress stores them as a post relationship that can break during import.
- Embedded videos and other oEmbed items usually depend on the original URL, so some stay live and some need replacement after the move.
- Gallery blocks and image attachments can point to old IDs, which is why a post can look fine in the editor and still miss media on the front end.
- The safest process is to import, remap, then verify each post in both the editor and the published view.
- This page is about the media inside auto blog posts, not about fixing the whole media library or comparing source and destination content.
What has to move with the post?
The featured image, the attached image files, and any embedded media inside the content have to move together if the post is going to look the same on the new WordPress site. A WordPress post can carry all three, but they are not stored or referenced in the same way.
A featured image is tied to the post as a separate setting, not as a normal paragraph image. In WordPress terms, that relationship is usually stored as post metadata pointing to an attachment ID, which is why the image can disappear even when the file still exists in the media library. The WordPress developer reference for get_the_post_thumbnail() is useful here, because it shows that the feature image is retrieved as a distinct post element, not just inline content.
Embedded media works differently. An embedded YouTube clip, X post, Vimeo player, or other oEmbed item is usually rendered from a URL in the post content, not from a local file. If the URL changes, or if the embed code was stripped during import, the post body can end up with a plain link instead of a playable block.
The hard part is that auto blog posts often mix all three in one article. A post can have a featured image, one or more inline image attachments, and a gallery block with embedded video in the same 800-word body. That mix is normal, but it is also where migrations break most often.
How do I move featured images in WordPress auto blog posts?
You move featured images by importing the attachment, preserving the post-to-image relationship, and then checking that the new post still points at the right image ID. If the relationship is lost, the image file may still exist, but the post will not show it as the featured image.
Use this order for the transfer:
- Import the post content first so the destination site has the post record and its body text.
- Import the media files or image attachments that belong to those posts, including the image that was set as featured.
- Make sure the featured image is assigned on the destination post, not only present in the media library.
- Open the post edit screen and confirm the featured image box shows the intended file, not a placeholder or empty state.
- Check the published post in the front end, because a featured image can appear in the editor while still failing in the theme template.

The common mistake is to treat “uploaded to Media Library” as the same thing as “assigned as featured image.” It is not. A file in the library is just a file; the post still needs the attachment relationship. If that link is missing, the image may show up in a media search but not under the post title or in a theme card.
Another common problem is attachment remapping. During import, a source attachment ID of 241 is not the same as destination attachment ID 241. The number can change even when the image file name stays the same. If the import tool does not remap IDs cleanly, the featured image field can point at the wrong file or nothing at all.
This is why featured images deserve a separate check, even when the body content looks correct. A post with a working title, excerpt, and body can still fail the visual test if the thumbnail is missing.
Why are embedded videos and oEmbed content different?
Embedded videos and oEmbed content are different because the post usually stores a URL or embed block, not the media file itself. That means the content may still render after migration if the URL is intact, but it can break if the import changes the embed format or strips the block markup.
WordPress supports oEmbed content for many services, and the platform can turn a URL into a player or card when the service is recognized. The WordPress embedding documentation explains that behavior and is a good reference point for what should still work after a move. If the post contains a YouTube URL, for example, the destination site may still render it as an embed without uploading any video file.
The catch is that not every embedded item behaves the same way. A video embed from a supported service can survive as a URL in the post body, while a custom iframe or a copied HTML snippet may not survive the import cleanly. Gallery blocks are another special case: they can hold multiple images in a block structure, and that structure may be preserved differently from simple inline image tags.
If the post uses oEmbed content, do not assume the media library will contain a matching file. In many cases there is no local file at all. The embed lives in the content, so the key job is to keep the original URL or block markup intact during the move.
The safest rule is simple: featured images depend on attachment relationships, while embedded videos depend on the content markup and the service URL. Those are separate systems, and both need a check.
What breaks when image references change?
Image references break when the destination post still points at the old attachment ID, an old file path, or a block reference that no longer resolves. The result is often a blank thumbnail, a missing image in a gallery block, or an image that appears in the editor but not on the live page.
This matters most on auto blogs because they often recycle the same media pattern across many posts. A featured image may be reused in a dozen posts, and a gallery block may pull several images from the same source set. If the import process rewrites only part of that structure, you get uneven damage: one image survives, the next one disappears, and the post looks half-finished.
Use this comparison to see where the reference lives:
| Media type | What the post stores | What can break | What to check first |
|---|---|---|---|
| Featured image | Attachment relationship | Wrong or missing attachment ID | Post edit screen featured image box |
| Inline image | Image URL or attachment reference in content | Old file path or broken link | Post body in the editor and on the front end |
| Gallery block | Block markup plus image references | Block IDs or image references | Gallery block render in the editor |
| Embedded video | oEmbed URL or embed code | Stripped markup or unsupported URL | Live post output and block HTML |
The mistake to avoid is fixing only the visible symptom. Re-uploading a file can make one post look right, but if the underlying reference is still wrong, the next post that uses the same image pattern will fail again. A clean remap is better than repeated patching.
For WordPress developers, the useful idea is that media has two layers: the file itself and the post reference to it. If the file exists but the reference is broken, the post still loses the image.
How do you handle gallery blocks without wrecking the layout?
You handle gallery blocks by preserving block structure and then checking each image reference inside the block, because a gallery is more than a stack of pictures. The layout can collapse if the block is converted to plain images during import or if one attachment link is dropped.
Gallery blocks are more fragile than a single featured image because they carry multiple points of failure. A post with a 3-image gallery may import two images correctly and one incorrectly, which changes the balance of the whole layout. In an auto blog, that can make a post look cramped or incomplete even when the text itself is fine.
The most practical check is to open the post in the block editor and confirm that the gallery is still a gallery block, not a loose group of image blocks. If the block type changed, the migration process altered the structure. That is not the same as a missing file. It is a layout problem, and it needs a different fix.
Gallery blocks also affect how featured images are perceived. A reader may not notice a missing thumbnail if the hero image in the body still shows, but the theme may still rely on the featured image for listing pages, archive cards, or social previews. That is why gallery repair cannot replace featured image verification.
When the gallery is intact, each image should still be tied to the intended attachment, and the overall spacing should match the original post. If one image is missing, the block can still render, but the visual rhythm changes.
What is the safest order for checking media after import?
The safest order is featured image first, inline images second, embedded media third, and gallery blocks last. That order catches the parts that affect the whole post before you spend time on the smaller details.
Start with the featured image because it is the most visible single media element in many WordPress themes. Then scan the post body for image references and linked files. After that, confirm the embedded videos or other oEmbed content still render as embeds and not as plain links.
Use this checklist in a single pass:
- Open the post editor and confirm the featured image field shows the right attachment.
- Read the post body and look for missing image spaces, broken alt text, or empty blocks.
- Open any embedded video area and confirm it still displays as an embed, not raw URL text.
- Check gallery blocks for missing tiles, broken spacing, or a block type change.
- View the published post on the front end, because theme output can differ from the editor.
A small but useful habit is to check both the editor and the live page on the same day. A post can look complete in one view and still fail in the other because the theme, block parser, or embed handler is doing different work.
This page fits the larger WordPress auto blog migration content transfer guide, but it stays focused on the media inside the post. That focus matters, because the source of the problem changes the fix.
What should you not expect this process to fix?
You should not expect this process to fix a damaged media library, a bad source export, or a full source-to-destination content comparison. Those are separate jobs, and trying to solve them all in one pass makes the media problem harder to see.
This article is for the narrow problem of moving featured images and embedded media in auto blog posts. It helps when the post structure is the issue: the thumbnail is missing, the embed no longer renders, the gallery block lost its shape, or the attachment reference changed during import. It is not the right page for rebuilding every missing file path or auditing every source record.
That boundary matters because WordPress media has two common failure modes. One is reference loss: the post can no longer find the attachment or embed. The other is file loss: the media itself is not present where the post expects it. This guide addresses the first kind directly and only touches the second kind where it affects the post display.
The practical trade-off is time. A careful remap takes longer than a quick import, but it avoids the false comfort of a post that “looks imported” while still missing the main image or an embedded player. On auto blogs, that difference shows up fast on archive pages and article pages.
FAQ
Why do images disappear after import?
Images disappear after import when the post reference to the image does not survive the move, even if the file itself exists somewhere in WordPress. Featured images are especially sensitive because they depend on a separate attachment link. Inline images can fail too if the source path, block markup, or attachment ID changes during import.
Do embeds need to be reconnected after migration?
Embeds sometimes need to be reconnected after migration, but not always. If the original URL and oEmbed markup survive intact, WordPress may render the embed again on the new site. If the import stripped the block code, changed the URL, or converted the embed to plain text, the media will need repair.
How do you check for missing featured images?
Check the post edit screen first, then the published page. A missing featured image usually shows up as an empty featured-image box in the editor or as a blank spot in the theme layout on the front end. If the image exists in the media library but does not appear on the post, the attachment relationship is the part that failed.
Drafted with AI; not yet reviewed by a person.