Makes images fit nicely into equally sized containers