Is there an efficient way to scale a number of images so that they can fit inline inside a fixed-size div?
I'm assuming it would be possible to do by using javascript to calculate the div width, divide it by the number of images (excluding padding) and then resizing the images equally to keep their aspect ratio but I'm hoping there is a better way to do it.