Featured Image on Submission from link

Welcome! Support Rank It WP Featured Image on Submission from link

This topic contains 3 replies, has 4 voices, and was last updated by  Rod 5 years, 11 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • pitcrit

    I was wondering if there was a way to streamline the process of adding featured images so submission posts.

    Is there a way for the theme to detect an image from the link I’m trying to submit and use that as the featured image for the submission? It sounds really complicated but I would at least like to know if it is possible!

    Thanks,

    younes0

    If you have any knowledge in PHP, you could use this library to fetch the main image: https://github.com/oscarotero/Embed in a save_post hook: https://codex.wordpress.org/Plugin_API/Action_Reference/save_post

    PROPER Web

    Pitcrit: not simple in the sense that there is a standard way of doing it. I could pretty easily grab YouTube slates automatically and probably a few others from embeddable sources. I’ll look around and see if there’s a way to reliably do that for common sources.

    younes0: Thanks again for the help here! I will definitely take a look at that library, that could be very useful.

    Rod

    It would be slick to use shrinktheweb.com, thumbgettys.com or one of the other thumbnail services that have an api to pull site snapshots…

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.