How do I embed a link in an image?

How can I add open graph image (og:image) parameter to tumblr photo inside a text post?

  • I have a text post in tumblr which contains an embed image. I want the og:image meta tag to point to that image, so when I share the link on facebook, it grabs that image for preview.

  • Answer:

    This is not possible as far as I know. Adding meta tags via JavaScript won't work because it is not parsed when Facebook requests the page. Images inside Text posts are inherently supplementary to the textual content anyway, which is the focal point. Use Photo posts if you want the Open Graph protocol markup to work properly with photos.

Derek Brown at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.