I have a table which images will be put inside. Some of the images will be larger than the width of the table (height doesn't matter). I'm looking for a way to keep the image the same size as the table without stretching the table out. I don't want to set the image width to 100% because then it will make the image wider if it's smaller than the table width. Also, I want to the proportions to stay the same. Any ideas?