Automatically create thumbnail image when compiling

I am a new user, I want to know if it is possible to configure Hugo to automatically generate a thumbnail image for a new image that is larger than a specific size, and save the thumbnail image in the same folder as the original one, with a .thumbnail append in the name.

I saw some documents, but they are all talking about short code, I don’t want to have any code in the .md file, if that make sense. All I want is when using hugo -w to watch the folder, and a user copies an image to the content folder, a small thumbnail file will be automatically generated. Later, a user can simply refer it with the .thumbnail name in the .md file as a normal image file without any shortcode.