ExtraLicense - Buy, Sell, & Trade Your Licenses

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Invision Community OG Image for Commerce Products

EL PaperBoy

Well-known member
When you share your Commerce product pages on social media sites like Facebook, the website’s default sharer image will currently be used, but this is not very appealing and will likely result in a low click-through rate. This plugin will use the title image uploaded for a Commerce product and set it as as Open Graph image (“og:image”), so social media sites (Facebook, Twitter and more) can use it as thumbnail image to represent the link. The process is fully automatic. There are no settings and no image needs to be picked manually.

What’s needed:

  • Commerce application

Notes:

  • The plugin should work on all Invision Community installations using the stock theme. The functionality on custom themes cannot be guaranteed, when the Commerce templates differ from the stock templates.
  • This plugin only adds the attachment image to the source code, so Facebook and other social media services can pick it up. There is no guarantee, that the image will be used instantly and that later changes to the forum images will be used by social media services. Facebook caches the images and loads them asynchronously. So when you share an URL for the first time, the image might not show instantly. If you want to test what Facebook is picking up, go to https://developers.facebook.com/tools/debug/sharing/
    If you don’t see an image for your topic URL or it is an outdated one, click “Scrape again” until the correct image is loaded.

Continue reading...
 
Top