Usually, when you share your site on Social Media, the image that will appear will be pulled 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 not to 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 the code below 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.
FAQs
Why isn’t the right image showing when I share my site?
Social platforms often cache images. Try using Facebook’s Debugger or LinkedIn’s Post Inspector to refresh the preview.
Can I pick a different image than what’s on my homepage?
Yes. Follow the steps in this help guide, and you can upload an image via a File Upload block on a hidden page, grab its URL, and add it to your SEO settings with a little bit of custom code.
Do I need to set the image size or title?
Not necessarily—this is optional. Adding width, height, and a title tag helps some platforms display your image more consistently, but it’s not essential.