$zpimagesize - Using to display a random image which is always the same height?

Hi folks,

I'm using the random image script from this forum to display a fairly big image on my homepage.

It seems that if I set the max dimension (say 400px), that will apply to either the width OR the height, depending if the image is landscape or portrait.

Is it possible to configure the script so that all the images are the same height, regardless of their width?

Cheers,

James

Comments

Sign In or Register to comment.