Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Auto Embed from typing URL Link in discussion box

Is there a plugin that will automatically search for an image when typing the URL into the dicussion box - just like on Facebook?

Example:

Tagged:

Best Answer

Answers

  • Facebook and their ilk have massive resources to their disposal, massive technical capability, you are no goign to do this without some kind of indexing service like google.

    You could use google custom Custom Search API

    http://stackoverflow.com/questions/8448788/google-custom-search-for-images-only

    That is a as start.

    If want a straight answer to these question it is usually NO, unless you can find it. There is two way you get new functionality on you site: initiative plus skill or getting someone to do it for you, normally by paying them.

    grep is your friend.

  • TownFishTownFish New
    edited October 2014

    Great thanks for your reply , we already have an in house developement team so paying for this to be done is not an issue, my role is front end design and functionality artitecture so I'm investigating if there's already a vanilla plugin to do this or whether the functionlity has been done before by any other vanilla developer.

    We'll take a look at the Google API and look into creating a custom plugin, thanks for the heads up!

  • hgtonighthgtonight ∞ · New Moderator
    Answer ✓

    I think @TownFish is looking to gnab the Open Graph image and insert a link into the discussion.

    Assuming you can detect when a URL has been entered, firing off an AJAX request that loads up the available Open Graph meta tags seems pretty non-resource intensive.

    A quick google search brings up this jQuery plugin that does something similar: https://github.com/stephan-fischer/jQuery-LiveUrl/

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • @hgtonight said:
    I think TownFish is looking to gnab the Open Graph image and insert a link into the discussion.

    Assuming you can detect when a URL has been entered, firing off an AJAX request that loads up the available Open Graph meta tags seems pretty non-resource intensive.

    A quick google search brings up this jQuery plugin that does something similar: https://github.com/stephan-fischer/jQuery-LiveUrl/

    This is excellent thanks @hgtonight

Sign In or Register to comment.