Pictures from imported posts are not visible in preview when "height" is missing

I’m running Ghost 5.121.0 locally on MacOS and I’m migrating from Tumblr. I’ve written the code to create an Image Gallery with a couple of images and these are visible in the edit view but not in the preview, or when the site is exported.

I’ve checked the HTML and the JSON with an exported one and I can’t see anything significantly different but it seems that if either the height or weight attribute is missing from the img tag, then Ghost will silently ignore it when publishing it, at least I can’t find anything in the log.

Should this be considered a bug?

  • What’s your URL?
    localhost I’m afraid