Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I want to try to share my products on Twitter and Facebook.
But unfortunately, the product thumbnails were not what I want to show.
They show second image I uploaded.
How can I replace the thumbnails into the first image instead of second one?
Do I have to edit liquid codes or something?
By default, Shopify is using the product feature image as the product link preview image. You can use facebook debugger to scrape the link. Your result may be cached.
Hi @Coludus,
You can find the 'og:image' tag and change the content:
<meta property="og:image" content="http:{{ product.featured_image | product_img_url: '1200x630' }}">
Hope it helps!
If you find my answer helpful for you, please mark it as a solution. Thank you and good luck
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025