Display the default image in case the avatar not available

Note that whenever content is written by another author, the existence of an avatar for that author is questionable, so adding another if-else block ensures that instead of the alt, the default image is shown