My page has a series of squares, inside the squares I want images.
The images are brought in dynamically from a database and are of all different widths and heights.
I want the images to fill the squares, whats the best approach to this?
I considered background cover but then I would have to set the image as inline css - or is there another way to do this? Also is inline css frowned upon?
Is there a way to do it with img tags? I wish to have the centre of the ing displayed, with the rest of it cropped off.