As designed Open Graph Multiple Images


Well-known member
So it seems that in the template `open_graph_meta` it is possible for two images to be defined. But it looks like Facebook grabs the first one as shown when testing here:

Test here for this thread:

It seems it's working as intended on other services but I haven't had the time to test this completely. It may just be Facebook.

Could we get the template updated to do an if/else statement so there will only be one og:image at a time?

Thank you!


XenForo developer
Staff member
If you only want 1 image, then that might be best for you to adjust, but multiple images are allowed. It's specifically mentioned here: (See "arrays".)

If you're referring to the avatar not being used (even though first), that's more related to Facebook's image size restrictions I believe (which aren't inherent to open graph).