Smaller thumbnail in the_content

I suspect you may be unclear about the code and features you are referring to and therefore about what you are asking. If you are trying to change the size of the thumbnail for an image you are inserting in the content area then you would change this in the Settings under Media as marikamitsos mentioned.

Insert the image into the content area by clicking ‘Add Media’, selecting the image, then selecting ‘Media File’ from the ‘Link To’ drop down and ‘Thumbnail’ from the ‘Size’ dropdown as shown below. This will allow you to display the thumbnail while linking to the full size image. Also this is the thumbnail size that will reflect what you have set in the Settings under Media.

Inserting a thumbnail while linking to the full size image.

Now if you are trying to insert a ‘Featured Image’ as your code implies then you need to click ‘Set Featured Image’ from the Featured Image meta box as shown below.

Set featured image.

The size of the featured image that is displayed can then be changed as you have done in you original code above but rather than add what you did to your functions.php I would suggest simply adding the_post_thumbnail('thumbnail'); to your loop.php. This will again use the dimensions you have set in the Media Settings for thumbnails. Please note that the_content does not display the featured image.

I suspect you are seeing the result of your else condition because you may have not actually set the featured image. Please refer to the codex on how to get the post thumbnail linking to the large image size as varun1505 mentioned.

Hope this helps!