I imported my ghost json file and left up my legacy/original site. I put that URL in the URL box for the GHOST import. Only a fraction of my images seem to have carried over.
When I click on the broken images their URLS look like:
When I check my legacy/original ghost site the image is in the correct location and appears in the post (don’t be fooled by the “Wordpress” sub directory. I had migrated from Wordpress a while back and just kept the image directory structure the same). Any thoughts?
Just noting that this seemed to resolve itself after no changes for about 48 hours, all of the images are now here. Perhaps it’s just a matter of waiting? Not sure but noting here in case anyone else runs into the issue.
Glad it resolved itself. As the Ghost import is processed, Micro.blog tries to download the original photos and copy them to your blog, then it updates the HTML for your post to point to the new photo location hosted on Micro.blog. It should do all of this at the same time, so I’m a little surprised that it was wrong and then fixed itself, unless you ran the import multiple times (which is safe to do).
I recommend looking at a random post on the Posts page in Micro.bog and just double-checking that the photo URLs are what you expect them to be. But otherwise sounds like it’s working.
@manton I spoke too soon.
only a handful of the images seem to have come over.
If you look at this source for the post, you can see the img src is still using the GHOST_URL bit. If I replace the GHOST_URL with the url of my old site, the image is returned. Any ideas on how to proceed? Re-import?
<section class="e-content post-body">
<!--kg-card-begin: html--><p>Morning after update to 15.4, all shortcuts look the same now. Not super useful, Apple:<br />
<p><a href="__GHOST_URL__/content/images/wordpress/2022/03/Screenshot-2022-03-19-at-5.54.12-AM.jpg" rel="attachment wp-att-3153"><img decoding="async" loading="lazy" src="__GHOST_URL__/content/images/wordpress/2022/03/Screenshot-2022-03-19-at-5.54.12-AM.jpg" alt="" title="screenshot-2022-03-19-at-5-54-12-am-jpg" width="600" height="600" class="alignnone size-medium wp-image-3153" /></a></p></p>
Oh, I see. Thanks for clarifying. Yeah, Micro.blog won’t know what to do with the
GHOST_URL placeholders. Can you replace all of those in the file with the real URL and then import again? That should let Micro.blog copy the images and update the text of any existing posts that were already imported.