Skip to:
Content
Pages
Categories
Search
Top
Bottom

Image preview from URL pasted within bbpress posts?


  • cacarlyle
    Participant

    @cacarlyle

    Hi there, first of all, sorry if this is something everybody knows, i did try to google it but came up with only things that aren’t the same as what i’m looking for.

    What i would like is for an image preview of some sort to come up within the post or reply, in bbpress, whenever somebody pastes a URL. Ideally it should only happen for the first URL in each post or reply, and ignore any subsequent URLs, but if that’s fiddly then just something that will generate previews for any URLs posted would be very helpful.

    Here is an example of it not happening: https://yesbook.scot/forums/topic/the-greatest-argument-of-all/

    That’s me posting an OP in my bbpress forum, and as you can see i pasted some text from a web page, and then a URL link to the page. Now what would be ideal is if the post also automatically showed a picture, drawn from the URL, inline within the bbprss post, in the same way that facebook pulls a picture in when you post a URL on their site.

    Is there a plugin that does this, or some simple tweak i can make to the config files of the site to make this happen? I’m not totally ignorant of how to use php and CSS but for the sake of argument, please assume that i am, because it isn’t far from the truth!

    Thanks in advance for any assistance you can provide.

    It is currently WordPress version 5.1 and bbPress version 2.5.14-6684
    I am using DI Business Responsive theme, though i don’t think that makes much difference for this particular question.

Viewing 5 replies - 1 through 5 (of 5 total)

  • cacarlyle
    Participant

    @cacarlyle

    Hello again, right well here’s a plugin that purports to do EXACTLY what I want… Except its for posts in WordPress, NOT for bbpress.

    URL-Preview-Box

    I feel like somebody here might know how to make this work in bbpress as well. I also feel like somebody must have already implemented this on their own forums and knows how to do it. Can anyone assist at all please? Thanks!


    cacarlyle
    Participant

    @cacarlyle

    You know what’s even more irritating is that when I pasted the link into my reply above, guess what happened… Yes, that’s right, the URL generated a PREVIEW with exactly the sort of information I want my own forum to generate whenever someone pastes in a URL.

    So THIS FORUM actually has the behaviour I want. Can someone please tell me how this is implemented and how a relative coding dunce such as myself can make this happen on my own forum? Thank you!


    Robin W
    Moderator

    @robin-w

    this site only does this for the wordpress and bbpress sites.

    I’ll take a look at the plugin above soon, but tied up with other stuff at the moment


    cacarlyle
    Participant

    @cacarlyle

    Thanks, @robin-w, much appreciated.
    I’ll continue to try to figure it out in the meantime (but really, my web-dunceness is a hindrance!)


    Robin W
    Moderator

    @robin-w

    if you do figure it, please post back and let me know before I duplicate effort 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar