x

How do I specify an image for sharing on social media?

[Note: The title of this post has been edited by a moderator.]

How can I change website thumbnail? It is defaulting to a certain photo on my site but I want to select a more specific photo/logo that represents our brand and makes a better first impression when sending the link to potential clients. I googled how to do it and found some code that includes the url for the photo that I want to use and placing that in the page header but didn't work for me.

59,014 Views
Message 1 of 263
Report
1 Best Answer
Square

Best Answer

WIth the classic Weebly drag and drop editor, you can specify a specific image by using a meta tag. Use this URL of an image file with the meta tag like this:

<meta property="og:image" content="https://www.google.com/someimage.jpg" />

Simply replace everything within the double quotes after content= with the URL of your own image, then add it the Header Code field in Settings > SEO in the website editor. You can also do this on a per-page basis by going to the Pages tab, clicking on a page, then adding it to the Header Code field found in SEO Settings. If you haven't already added the image to your site somewhere, you can also add it to a hidden page and then right-click on the image on the hidden page to copy the URL.

For sites built using the Square Online editor, you can do this for every page of your site within the website editor. Navigate to the page, then click on the gear icon on the left and choose Page settings. Go to the Social tab on the popup, then add an image to the Social image option. You can also set one for the whole site by going to Website > SEO & Social Media, click on Update social media, then adding an image on the Social tab of the popup.

Regardless of which editor you have, don't forget to publish afterward. You may also want to use the Facebook debugger to scrape your site again, since Facebook may use older cached images without doing that.

View Best Answer >

60,858 Views
Message 231 of 263
Report
262 REPLIES 262

When I share the link to my website or a specific page in my site I do not like the pictures that display with it. It seems like they are randomly chosen from off of my site. I would like to pick specific pictures to display. How do I do this?

Example: When I share https://www.tanyasaatzerart.com/pet-portraits.html on my facebook post it is displaying a picture that I would rather not share. I want to know how I can get a different picture to display.

Any help is greatly appreciated!

Thanks

49,321 Views
Message 2 of 263
Report
Square

Hey @tanyasaatzerart!

Since Facebook chooses a picture automatically when you use our built-in sharing feature, you'll have to share the URL yourself directly at Facebook to pick a picture.

Before you try that, though, you'll need to clear Facebook's cache of the page with their debug tool:

https://developers.facebook.com/tools/debug/

Enter your URL in that, then click the button to scrape new info.  Once done, go to your Facebook page and share your page.  You should be able to pick from available images and share the post.

49,126 Views
Message 3 of 263
Report

I have just tried doing this and it hasn't made any difference. When I put the link in, it show with no picture and then when I post it it comes up with the wrong picture entirely. I want it to show the picture in my header on the website but it shows my gofundme label ... I have tried debugging and it has not worked.

Any other suggestions?

Thanks

Cheryl

49,049 Views
Message 4 of 263
Report

me too - same issue

15,927 Views
Message 5 of 263
Report

I understand this is for facebook, what about on LinkedIn and Tumblr?
44,701 Views
Message 6 of 263
Report
Square

I haven't heard of a similar debugger tool for Linkedin or Tumblr. Although I'm sure they would have more information on their pages. Smiley Happy

44,660 Views
Message 7 of 263
Report

I actually have similar problem, but it's not only on Facebook, but also in messenger, imessenger, linkedin, etc. It basically pics the first picture from my website, and I want it to be my logo. Here's my website anyakern.com. 

42,535 Views
Message 8 of 263
Report
Square

Thanks for posting the website name @visualkern Smiley Happy Facebook doesn't read logos as valid og images, but it's super easy to add it. First you will want to add a new page to your website and check the box that says "hide in navigation". Then add an Image element and upload your photo. You may need to resize the image based on Facebook's recommendations. Publish the website and navigate to your hidden page by typing in: yourdomainname.com/hiddenpagename.html

Then you will right click on the image and copy the image address. 

Last step will be to go back into the editor, click on Settings, then SEO. In the Header section you will copy/paste this code (don't forget to replace your image url):

<meta property="og:image" content="http://example.com/rock.jpg" />

Then Save and Publish. You may need to run Facebook Debugger and re-scrape your URL, but that should allow the logo to show. Please let me know if you have any questions at all about this. 

42,521 Views
Message 9 of 263
Report

Hi, I followed all your steps and it still doesn't work in Linkedin. I think it's the last step that I am not doing correctly. This is my image url:  www.responsiveleadership.com/uploads/3/8/3/8/38381667/icon-web_orig.png

I tried several ways of copy/pasting it in the header code, including the one below. But non worked. Can you tell me how exactly I have to copy/paste the code in the header section of the SEO? Thanks!

<meta property="og:image" content="http://responsiveleadership.com/uploads/3/8/3/8/38381667/icon-web_orig.png" />
40,219 Views
Message 10 of 263
Report

Hi everyone, 

I just found this great article that describes how to do it for Linkedin. After following all the steps Benadette describred, you have to add /?latest to your domain. www.yourdomain.com/?latest and then it will show correctly. For more info this is the article:

https://www.linkedin.com/pulse/how-clear-linkedin-link-preview-cache-ananda-kannan-p/

Cheers,

Mirja

40,182 Views
Message 11 of 263
Report
Square

Thanks for sharing, @Mirja!

38,753 Views
Message 12 of 263
Report

Hello there!

I am having difficulty going to the below part, please find my questions after the instructions provided. I also attached screenshots. I hope you could help me. Smiley Happy 

Publish the website and navigate to your hidden page by typing in: yourdomainname.com/hiddenpagename.html--- Where to go from here? is it under "PAGE NAME" from the new page I added?

Then you will right click on the image and copy the image address. -- Where? from the folder where I got the image or on the page I created?

Last step will be to go back into the editor, click on Settings, then SEO. In the Header section you will copy/paste this code (don't forget to replace your image url):------ is this correct? <meta property="og:image" content="http://hollywoodfashionmerchandise.com/hfm2.jpg" />

Thank you,

Ace

14,615 Views
Message 13 of 263
Report
Square

The hidden page name is based off whatever you named the page, so if you called it "Hidden Page", then it would be hidden-page.html. Once you are viewing that page, you right-click the image on the page and copy the URL from that. The general format you have for your meta tag is correct although you'll need to replace that image URL with whatever you copy from the the hidden page.

14,548 Views
Message 14 of 263
Report

Hello Adam,

So I tried following your advise, however when i get to the part of "Once you are viewing that page, you right-click the image on the page and copy the URL from that. The general format you have for your meta tag is correct although you'll need to replace that image URL with whatever you copy from the the hidden page."---- It doesnt show the link I needed. Screenshot attached. Website is https://www.hollywoodfashionmerchandise.com/

I am sorry, I guess I am a bit lost Smiley Happy 

image

14,501 Views
Message 15 of 263
Report
Square

Oh! You'll need to visit that page on the published site and right-click the image there, @Acey

14,445 Views
Message 16 of 263
Report

Hello Adam,

Got it already! Our logo is now showing i the thumbnail. I am happy Smiley Happy 

Thank you for the effort,

Acey

14,412 Views
Message 17 of 263
Report
Square

Thanks for letting us know, @Acey

14,299 Views
Message 18 of 263
Report

So I did everything that I was supposed to and now it says on the debugging the following: "The following required properties are missing: og:type, fb:app_id"

I am using this for the Header code: <meta property="og:image" content="https://www.groundedbeautybar.com/uploads/1/0/1/1/101171032/gbbfinal_orig.jpg" />

Please help! 

13,332 Views
Message 19 of 263
Report
Square

You can ignore that warning, @Breonna - it will work regardless of that message. It looks like you only needed to have Facebook scrape the site again; I just did that and now the debugger shows that image (it looks great!).

13,522 Views
Message 20 of 263
Report

Thanks. I stuck with the thread and your answer really clinched it. Awesome guide.

16,022 Views
Message 21 of 263
Report