I'm doing an image gallery with the FancyBox plugin. I'm doing image listing with PHP, but I have a problem.
I'm going to be able to have images with different widths and heights, so how do I always apply a fixed width and height to all images, without distorting the images, and without bursting?