All things Shopify and commerce
Solved! Go to the solution
This is an accepted solution.
Hi there
You can change your page's preview image when sharing it on social platform by set the thumbnail for your page in theme setting by following this guide:
https://help.shopify.com/en/manual/using-themes/change-the-layout/theme-settings/showing-social-medi...
Or if you have knowledge about coding you can directly edit your theme code by following these below steps:
<meta property="og:image" content="www.yourimagelink.com" />
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
This is an accepted solution.
Hi there
You can change your page's preview image when sharing it on social platform by set the thumbnail for your page in theme setting by following this guide:
https://help.shopify.com/en/manual/using-themes/change-the-layout/theme-settings/showing-social-medi...
Or if you have knowledge about coding you can directly edit your theme code by following these below steps:
<meta property="og:image" content="www.yourimagelink.com" />
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
Thank you for the help, but tried both of those methods both individually and together, still didn't work. I am still in password mode, not sure if that makes a difference or not. I attached screenshots, maybe i'm still doing something wrong.
Hi @RyaneBin,
Sometimes it can take some time for this to come through and take effect. Something you can use to check in the meantime is the Facebook Crawler which you can see here.
There is a mention of the Facebook crawler in the guide shared above with some information about this which you can see in the screenshot highlighted below:
I tested this on my test store with the password control on and off and the image showed up after some time for both settings, so I don't believe the password aspect would affect this directly.
To learn more visit the Shopify Help Center or the Community Blog.
Unfortunately, there is no such word exactly written like this <head> in the theme.scss.liquid so your solution is very confusing
My edit list also doesn't have your wording theme.liquid - mine has theme.scss.liquid. Is this what you mean?
Is there a method to change the social share preview for individual pages or custom page templates?
It looks like collections have a featured image that will go to the social share preview. What about regular Pages?
Yes, this would be great. Really makes Shopify a shoddy product when you can not change this for individual pages.
This worked for me. No coding needed. Just changed the setting and went to the fb debugger. Thanks so much!
Hi @RyaneBin,
Nick here from Shopify.
@PageFly-Richard hit the nail on the head for you here. If you follow these steps in the guide Richard shared here you can change the image for your social media footnote:
Find the theme that you want to edit and click Customize.
Click the Theme settings tab.
Click Social media.
In the Social sharing image area, select the image that you want to show on social media.
Click Save.
All the best, Nick
To learn more visit the Shopify Help Center or the Community Blog.
Not working on my end. I already did that.
I'm using Debut theme. Changing the Social Sharing Image through Shopify's GUI wouldn't actually change it. So I manually changed the og:image src in theme.liquid using the following code:
<meta property="og:image" content="https://cdn.shopify.com/s/files/1/0045/6533/6167/files/wai_social_sharing.png?v=1590193923" />
That still didn't work at first. The issue is that social-meta-tags.liquid is also defining og:image. See here:
{% if settings.share_image %} {%- capture og_image_tags -%}<meta property="og:image" content="http:{{ settings.share_image | img_url: '1200x1200' }}">{%- endcapture -%} {%- capture og_image_secure_url_tags -%}<meta property="og:image:secure_url" content="https:{{ settings.share_image | img_url: '1200x1200' }}">{%- endcapture -%} {% endif %}
So I just deleted the following from the above:
{%- capture og_image_tags -%}<meta property="og:image" content="http:{{ settings.share_image | img_url: '1200x1200' }}">{%- endcapture -%}
I believe that Shopify's share_image variable can be buggy, i.e. it doesn't update or something when someone changes it through the GUI. So, modify theme.liquid that's referencing it, remove the reference in social-meta-tags.liquid, upload your own social sharing image in 1200x630, and reference it in theme.liquid.
btw, the way I found the other og:image definition was by searching 'og:img' throughout all my shopify theme files using this chrome ext https://chrome.google.com/webstore/detail/shopify-theme-search-by-b/epbnmkionkpliaiogpemfkclmcnbdfle...
@kellylazzara I'm having same issue. Could you please explain more about how to reference the social sharing image in theme.liquid? TIA
Hello, I want to remove the image, and it seems I can only change it....How do i remove the image?
There doesn't seem to be a social media image share option (No section to upload anything) to show what photo I want made visible when sharing. At the moment my logo is zoomed in and cuts out half of it
This did not help. Ugh why did you guys take away the phones ugh so frustrating.
This does not work for me. The theme that I have chosen does not have the option to change any image when I am under "social media". Please assist. Thanks
Hi @Gabriel82,
This layout in the admin might have been changed since. You can see where to change this image by taking these steps:
Online store > Preferences > Social sharing image
It should look like the screenshot example I am sharing below:
To learn more visit the Shopify Help Center or the Community Blog.
Hi we are experiencing the same issues here
both tried the code in the meta as well as uploading the thumbnail in the social sharing image section from preference - No Luck 😞
anyone please help !
Cheers
Hi @pureMix,
Can I ask what theme you are using and if Online Store > Preferences has the section to add the social image? If so, can you share an example of what image you have and what image shows up on social sites when a link is shared?
To learn more visit the Shopify Help Center or the Community Blog.
Hey all,
if you want to set the social media image for a product, a collection or a page, you can use this app:
https://apps.shopify.com/social-media-share-image
$9.99 a month for a feature that's free in Squarespace and any basic website platform?!
My thoughts exactly. Everything costs extra. What a bunch of malarkey. This feature should be baked into the platform.
I did this as well and it has not worked.
Yes!! Thank you Nick. This was super easy to do and it worked.
this doesnt work
Here are the methods to change the image while posting a link over social media are-
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024