Setting a Default Image for Twitter

Are you looking to set an image that Twitter displays for your content?

All in One SEO makes it really easy to control the image that’s used when you or your visitors share your content on Twitter.

Here we’ll show you how you can specify the image that’s used, and how to add a default image to fall back to.


Why Do I Need an Image for Twitter?

When a visitor comes to your site and reads something they like, chances are they’ll tell their friends about it on Twitter.

Your site may even have social media buttons where visitors can Tweet or share content as they’re reading it.

When content is shared or Tweeted, Twitter displays a title, description and an image.

As people scroll through their Twitter feed, their attention is drawn to posts because of the image. A great quality, large, attractive image is more likely to lead to them clicking on that post and visiting your website.

Here’s an example of a post shared on Twitter:

Example of a post shared on Twitter

Setting the Twitter Image Source

The first thing we’re going to do is choose which image is used when your content is shared on Twitter.

To get started, click on Social Networks in the All in One SEO menu and then click on the Twitter tab.

Social Networks menu item in All in One SEO

Now you’ll see settings for Default Post Image Source and Default Term Image Source. The choices in this drop down relate to images that may exist for your content.

Default Image Settings in the Twitter settings

Choose one of the options in the drop down to set that as the image source that will be used when your content is shared on Twitter.

Here’s a description of each of the choices in the drop down:

  • Default Image – This will use the image set in the Default Twitter Image setting
  • Featured Image – This will use the Featured Image which you set on your Posts and Pages
  • Attached Image – This will use the first image that is attached to your Post or Page
  • First Image in Content – This will use the first image that appears in the content of your Post or Page
  • Image from Custom Field – When you select this option, a Custom Field setting will be displayed where you can enter the name of a custom field you want to use for your image
  • Post Author Image – This will use the Profile Picture from the user profile for the author of the Post or Page
  • First Available Image – This will go through each of the above looking for an image to use

After you’ve chosen which image source you want to use in the Default Post Image Source and Default Term Image Source settings, you should set a default image which is described below.

Setting the Default Twitter Image

The Default Post Twitter Image and Default Term Twitter Image will be used as the fall back when there’s no image available.

For example, if you chose Featured Image in the Default Post Image Source drop down, but your Post or Page doesn’t have a Featured Image, then All in One SEO will use what you set as the Default Post Twitter Image.

If your theme enables you to set a logo, then All in One SEO will automatically use it as your Default Post Twitter Image and Default Term Twitter Image.

To set your default image, click on the Upload or Select Image button and upload an image, or choose an image from your Media Library.

Default Post Twitter Image setting in All in One SEO

You can also type or paste the URL for an image into the field.

Type or paste the URL for an image in the Default Post Twitter Image field

The image you’ve set will be shown below the field.

Repeat this with the Default Term Twitter Image field.

Congratulations! You’ve now set the default image source and the fall back default image for use on Twitter.

Are you interested in setting this for Facebook too? Check out our article on Setting a Default Image for Facebook.

All in One SEO makes it really easy to control the image that's used when you or your visitors share your content on Twitter.

Why Do I Need an Image for Twitter?

When a visitor comes to your site and reads something they like, chances are they'll tell their friends about it on Twitter.

Your site may even have social media buttons where visitors can Tweet or share content as they're reading it.

When content is shared or Tweeted, Twitter displays a title, description and an image.

As people scroll through their Twitter feed, their attention is drawn to posts because of the image. A great quality, large, attractive image is more likely to lead to them clicking on that post and visiting your website.

Here's an example of a post shared on Twitter:

Example of a post shared on Twitter

Setting the Twitter Image Source

The first thing we're going to do is choose which image is used when your content is shared on Twitter.

To get started, click on Social Meta in the All in One SEO menu and then scroll down to the Image Settings section.

You'll see settings for Default OG:Image Source and Default OG:Image.

Choose one of the options in the Default OG:Image Source drop down to set that as the image source that will be used when your content is shared on Twitter.

Here's a description of each of the choices in the drop down:

  • Default Image - This will use the image set in the Default OG:Image setting
  • Featured Image - This will use the Featured Image which you set on your Posts and Pages
  • First Attached Image - This will use the first image that is attached to your Post or Page
  • First Image in Content - This will use the first image that appears in the content of your Post or Page
  • Image from Custom Field - When you select this option, a Custom Field setting will be displayed where you can enter the name of a custom field you want to use for your image
  • Post Author Image - This will use the Profile Picture from the user profile for the author of the Post or Page
  • First Available Image - This will go through each of the above looking for an image to use

After you've chosen which image source you want to use in the Default OG:Image Source setting, you should set a default image which is described below.

Setting the Default Twitter Image

The Default OG:Image will be used as the fall back when there's no image available.

For example, if you chose Featured Image in the Default OG:Image Source drop down, but your Post or Page doesn't have a Featured Image, then All in One SEO will use what you set as the Default OG:Image.

If your theme enables you to set a logo, then All in One SEO will automatically use it as your Default OG:Image.

To set your default image, click on the Upload Image button and upload an image, or choose an image from your Media Library.

You can also type or paste the URL for an image into the field.

Finally, click the Update Options button and you're done!