You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the case that both images and data are being imported at the same time, we need to make sure that the paths to the images we end up importing correctly match up with what is in the posts.
This means for each post that gets imported, we want to check the content of the post for matching filenames, strip out any absolute path, and update the relative path to include /content/images/ etc if it doesn't already.
Once #4608 is completed, the importer should get a bunch of data back from the image import to use to make these updates to the posts.
The text was updated successfully, but these errors were encountered:
closesTryGhost#4608, TryGhost#4609
- image handler loads in any image files & figures out where they'll get
stored
- image importer has a preprocessor which replaces image paths in
pertinent spots of post, tag and user models
- image importer stores images, keeping the path where it makes sense
closesTryGhost#4608, TryGhost#4609
- image handler loads in any image files & figures out where they'll get stored
- image importer has a preprocessor which replaces image paths in
pertinent spots of post, tag and user models
- image importer stores images, keeping the path where it makes sense
- basic test for the preprocessor
ref TryGhost#4608, TryGhost#4609, TryGhost#4690
- fix errors with cleaning up files
- improve handling of base directories, and introduce a simple valid format for zips (must contain importable files or folders, and may contain up to one base directory)
- vastly improve test coverage
This is part of the epic #4605
In the case that both images and data are being imported at the same time, we need to make sure that the paths to the images we end up importing correctly match up with what is in the posts.
This means for each post that gets imported, we want to check the content of the post for matching filenames, strip out any absolute path, and update the relative path to include
/content/images/
etc if it doesn't already.Once #4608 is completed, the importer should get a bunch of data back from the image import to use to make these updates to the posts.
The text was updated successfully, but these errors were encountered: