Jump to content

Dynamic meta tags (getting images into meta)


Recommended Posts

Hi All,

Twitter does a pretty poor job of scraping content to boost the appearance of the Twitter Card in the tweet. Basically, if no og:image tag exists, Twitter shows a default thumbnail. Facebook at least crawls the page to grab an image.

Is there a method or property in $topic that will give me the URL's of any images? Or maybe in another variable somewhere? I could then just add the URL to the og:image meta myself and at least have good looking thumbs in Twitter. 

Thanks guys,


Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...