5

I've searched on StackOverflow and other sites, but I haven't found a definite yes or no answer if this is possible.

I'm getting the hang of Facebook's Open Graph technology and I want to have a variable image between posts on my Tumblr. The problem is, I typically only make text posts and Tumblr doesn't seem to allow me to specify Open Graph images for each post. Tumblr deletes the meta tag if I try to put it within the post and Facebook doesn't seem to recognize tumblr tags like {PhotoURL-500} or {Photoset-500} within the og:image tag.

My og:image is currently set to display the site's logo, which gets repetitive, but without it, Facebook typically doesn't scrape the right image. Is it possible to set the og:image for individual Tumblr text posts?

1
  • 1
    Some solutions to similar problems here
    – PHearst
    Jan 19, 2014 at 22:06

1 Answer 1

0

Text posts don't have any images registered in them that you could invoke with a themecode like {PhotoURL}. If the in-post meta tags are stripped out, I don't think there's another option.

You might be able to hack something together with a second {block:Posts} loop in the <head>, but that wouldn't work on permalink pages.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.