maximum picture height and width?

liunx

Guest
Hi there,<br />
<br />
Im displaying images on a dynamic page. <br />
The different pictures don't share the same format. <br />
By fixing just the width, the height becomes flexible, but this can sometimes cause the picture to stretch. <br />
How can i set a maximum for both the width and the length of an image, still maintaining the original ratio within those limits? <br />
<br />
Cheers!<!--content-->if it is dynamic then I suppose you are using a serverside language? then just use tha tlanguage to get the width and height of the image.<!--content-->
 
Back
Top