Using plain tags is it possible to offset the image in the same way as you can with CSS background-image and background-position?
There are main images o
Some of the images are portrait and some are landscape, however I need to display the thumbnails at a uniform size (and crop off the excess where it fails to meet the desired aspect ratio).
Use background-size: cover
which should exactly solve that problem → with good browser support!
And make you image the background (probably using background-image
as an inline style):