It is necessary to place a set of images of equal height and different width so that they are located exactly on the page width with equal or almost equal intervals, as, for example, here or here .
How best to do this, a script on the server, via javascript or maybe using CSS?