Tagging more images with og:image in Wordpress

I have a wordpress site with a premium theme and Yoast SEO plugin. Most of my posts have several inline images and then a gallery with thumbnails on the bottom of the post. When I share a post to my Facebook page only the featured image is available as an image on Facebook. I assume this is because only that single image gets tagged as og:image. Is there any way I could have more images available when posting to Facebook? Can I do it in Yoast or do I need a different plugin? Thanks!
LVL 1
ShareThePointAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rgranlundCommented:
Apparently you can put it in the head of your page:
<meta content='http://mysite/low-res.jpg' property='og:image'>
<meta content='http://mysite/med-res.jpg' property='og:image'>
<meta content='http://mysite/hi-res.jpg'  property='og:image'>

But I think you want a plugin to handle it for you?
0
ShareThePointAuthor Commented:
Plugin or UI. I am not sure how can I even add code to a single post on WordPress. I was under the assumption that posts are created dynamically and you can only edit the templates.
0
rgranlundCommented:
I believe that you can accomplish this by adding custom fields to your Post Pages.  Call them "share images" or something.  Then, place code in the header to show those custom fields.  To add custom fields, go to the top of your post page and click on show hidden fields and activate custom fields.  If you need help writing the PHP loop that will go in the header let me know.
This may not be as nifty as using a plugin but it will do exactly what you want.  The only real caveat is that it is a manual process.  You may be able to find a plugin.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
WordPress

From novice to tech pro — start learning today.