Image_url is null after update

AI-generated summary

The discussion revolves around the image_url field being null for new topics after upgrading to Discourse 2.5.0.beta4, despite images being present. Krischan reports the issue, and david suggests checking if rebuilding HTML resolves it, which it doesn’t. david identifies the discourse-topic-previews plugin as a likely cause, noting it’s temporarily broken due to core changes and advising caution with upgrades outside the 1st–5th of the month. He also recommends switching to the official topic list thumbnails component. Krischan confirms disabling the plugin doesn’t fix the issue and asks if uninstalling is necessary, to which david replies that the plugin may not fully respect settings, implying removal could help.

Since our update to 2.5.0.beta4 the image_url field for new topics in the category json is null, although they have an image, cf.

https://1e9.community/c/magazin.json

Any ideas? Thank you!

Does the issue persist if you ‘rebuild html’ on the first post in the topic? (rebuild html can be found under … then :wrench: on the first post)

Yes, any newly created topic doesn’t have an Image_url.

Ah, it looks like you have the discourse-topic-previews plugin installed. The plugin topic has some more information.

You may be interested in @merefield’s theme version of the plugin, or our official topic list thumbnails component.

Hi David, thanks for the hint! I disabled the plugin, reloaded the site and published a new topic, but Image_url is null here as well. Do I have to uninstall the plugin to make it work again? Would love to switch to theme components… Thanks!

Yes, possibly. The plugin might not completely respect the setting