If a user creates a new topic I would like them to be able to have an image displayed above the topic whenever people are reading their post. So they would insert the image url will be in the format
The end colon is just to make it easy to extract from the topic content.
My question is, using js or jquery, how do I read the content of the currently displayed topic (so I can extract the image url if there is one). I have successfully read it from the header meta tag but that doesn’t distinguish between the currently open topic and the suggested topics.
Or is there a way to add an extra field for topic posts and how do I read that with js or jquery?