Images in title and character length of title

Is it possible to show images in title? Is it possible to increase title character length to more than 255? If not, then how can those be achieved? Plugin, core modification, any ideas? Thanks.

Are you talking full jpg/png images in the title? That would be a plugin for sure, and likely quite complicated. Depending on where you want this image to display, you may be looking for the https://meta.discourse.org/t/topic-list-previews/41630/11 plugin.

That would also need to be a plugin - but this one is simple. See GitHub - jomaxro/discourse-plugin-site-setting-override for an example of how to override a site setting.

Important Note: See Régis’s reply below. This is not a simple plugin anymore due to the size limit in the database.

1 Like

It’s limited to 255 in the database, so the plugin would have to run a migration and change all places where we made the assumption the title will never be longer than 255 characters.

The real question is: why? Why do you need titles to be longer than 255 characters?

3 Likes