Images Not showing in rss feed and in the fediverse

How do I set the image that is shown on mastodon or in the rss feed. For some it shows for some it shows the write.as logo instead