If u do not want medium size image then there is no way to have a medium link. Make sense here.
There is the main image and a thumbnail both follow the size thresholds you set. You can also set a medium threshold if you want but is optional.
The medium link only shows if there is a medium image.