You could use the media URL with some extra parameters as a solution to get the desired image instead of using the direct image link.
For example
https://www.instagram.com/p/Bo7OXJ3hYM8/media/?size=m
Notice the addon /media/?size=m
Letters could be t, m or l for different picture sizes
This should return you the desired image
Reference: https://www.instagram.com/developer/embedding/