Thank you for the link. Apparently it didn’t work that well:
But I indeed thought about this solution as well.
Another solution could be to replace all
[img] tags with empty new lines (couldn’t figure out yet to do it, but I’m searching), but there are 40000 posts, so I prefer not to fail on this one…
edit: nope, that wouldn’t work, because the “working” broken image are inside a
[URL] link, so here’s what the result would look like:
The images wouldn’t be displayed
edit 2: I also tried to replace the [IMG] tags by standard HTML tags, such as
<img src="https://nsm09.casimages.com/img/2019/07/23//19072308092617331416324744.jpg" />
But the problem is still the same as with the
[IMG] tags, so it doesn’t work either. That’s really a bummer, especially when all the images are nicely displayed in the post preview…
Edit 3: the same phenomenon appears (sort of) in new (non-imported) posts, but not for all image links.
Also, if the automatic image display doesn’t work, the image are displayed if we use manually any tag or image formatting used by Discourse.
Rebuilding HTML won’t make the two first links display as images; They’ll be kept as they are, despite the fact that they should display directly an image.
When the PullHotlinkedImages jobs are executed, then, the images break!
I understand less and less what’s going on and if all these issues are connected in any sort of way.
That looks like a Discourse issue… But is it?
I can’t try on an older version of Discourse, all my forums are on the latest.
(and nothing in Discourse’s logs)