I’ve written an importer for a custom database of external images. It’s based on
base.rb) (pulled just today). It’s creating posts that look good right to me (a few problems with categories yet to work out). Posts have lines like
- When I look at them the URL isn’t displaying the image.
- If I edit the image, it shows the image in the preview window.
- If I edit and add a space anywhere in the post the image is displayed as expected.
“No problem!” thinks me "just rebake the posts. I do a
bundle exec rake rebake
on my development box. It rebakes the posts Or so it claims!!!
But, no joy. The image urls still just show up as urls.
On a related note, once I figure this out, will Discourse pull those images to it’s local store like it normally does? Do I need to do anything to force it to do it to all of them? I don’t see any obvious thing to poke in sidekiq.