TryGhost/migrate: images "_o"

Hi,

Does anyone have tips for the following?

Situation:
WordPress website 7000 posts on shared hosting, migration to a VPS with Ghost in a docker container. (result will probably the largest Dutch Ghost-blog so far). The official Ghost WordPress export plugin is not an option for a site of this size. The TryGhost/migrate script works with the WordPress xml.

The script scrapes the content and generates a zip.
That zipfiles contains a json which i can import to Ghost, and a lot of folders for images.

Now I noticed that the migrate script does not rewrite image URLs to a Ghost format, but remains in the WordPress format (ex. /wp-content/uploads/2023/12/)

And in the zip there is a folder structure for images, and each with more subfolders
-content
–files
–images
–media

Now the interesting part is content\images\wp-content\upload\ which appears to have all the required images. So a simple upload would keep all my images alive when switching to Ghost.

Question: The files in the folder seem to have an original_filename.jpg and a copy original_filename_o.jpg.
Anyone knows where this second image is for?

original_filename_o.jpg is the original image, and original_filename.jpg is the optimized image.

1 Like

Ah, great.
Well deleting half of them saves a bit of space. (On top of all the different wordpress images sizes). Yay