I made this exception in order to display icons (e.g. PDF) to display without cropping.
I wrestled with that one for a long time, and finally cracked the problem by using things like a PDF icon as a
background image on a transparent
empty.png primary image, with the dimensions of the empty image forced to match the thumbnail bounds. Pick a background color to match the style.