Use a background image to center/crop images of arbitrary dimensions.