Opengraph
The best way to create preview and social badges for your Rails applications.
Imageomatic ships with the best Rails integration for opengraph images. To get started run:
gem install imageomatic
- From the root of your Rails app, run
imageomatic install
then restart your server - Add
<%= opengraph_meta_tags %>
on views & layouts where you want opengraph working
That’s it! You have basic opengraph images in your Rails site.
Next steps
The steps above get basic opengraph functionality working from your Rails app, but a little more work is needed to set the titles and customize the look and feel of the badges.