Usually, when you share your site on Social Media the image that will appear will be pulling through from one of the images on your home page. Rocketspark specifies up to 10 images from your home page. If you want to change the image that pulls through to Social Media you can follow the instructions below. - For Advanced Users
- You will want to upload the image you would like to show on social media on a hidden page - How to add a page
- You will need to upload the image using the File Upload block rather than the image block.
- Once you have the image uploaded in the file upload block click to open/download the file -> The file will then open up in a new tab.
You will then only need to copy part of this URL. See the highlighted section below. Making sure to not include/copy "?dl=1" which is at the end of the URL.
Please also remember to take out the shortname.rocketspark in the URL and replace it with your own domain name.
- Go to the Get Found SEO Section of your Dashboard and copy in the below code to the Custom <head> tracking code area.
<meta property="og:image" content="URL OF UPLOADED IMAGE">
-
You will then need to replace URL OF UPLOADED IMAGE with the file URL you have copied above (in step 3). Click Save.
If you already have other tracking codes in this area paste this below the other tracking codes). - Test your new image out by sharing your website on social media.
If you were wanting some extra information to adjust the size of the image and image title, add the code below:
<meta property="og:title" content="TITLE OF IMAGE"/>
<meta property="og:image:width" content="WIDTH SIZE eg. 1025">
<meta property="og:image:height" content="HEIGHT SIZE eg.1025"
If you are sharing your link on Facebook, you may need to get your site crawled again. You can do this using the Facebook Debugger. Submit your site, then click Scrape Again:
If you are sharing your link on Linkedin, you may need to get your site crawled again. You can do this using the LinkedIn Inspection tool. Submit your site and inspect.