I am setting up a MooTools slideshow comprising the show itself, thumbnails and a lightbox (using SlimBox). So far I've got everything to work properly, apart from the image dimensions in the slideshow itself.
The site is going to show photographs, so naturally some images are landscape and some portrait. Unfortunately I only seem to be able to set one set of dimensions for the slideshow (currently they're fine for landscape images, but crop portrait images).
How can I include some code which changes the format of the show when it gets to a portrait image?