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
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025