A small fix if we can do in the future for the thumbnails (see attachment)
If we use background-size:cover;
The layout looks much better, less odd white spaces on left side. i couldn't find if some browsers don't support that property.
Also it will reduce the overhead of figuring out portrait and landscape and one more class related to that.