Controlling and use of og:image
Open Graph (og:image) attribute
When users share your content to a social network using the Open Graph protocol, e.g. Facebook, you can control the content that network will associate with the shared url.
One really nice attribute to control is og:image
. Zesty will automatically detect the first entry in a page, pageset, or dataset with a field containing the word "image" and use it as the content
value of og:image
.
A common practice is to create a social_share_image
field that will be used for social networks.
Facebook caches shared urls so if your adding this to pre-existing content you may need to use their Debugging Tool to update it.
Connect with Content Experts
Book a free 15-minute consultation with a content expert. Discuss your application, pain points and requirements. Understand how Zesty's lower total cost of ownership, features, functionality can elevate your business by creating extraordinary digital experiences.
Trusted By
G2 MOMENTUM LEADER