leeandrew Posted March 19, 2008 Share Posted March 19, 2008 I am trying to display various images of various sizes on a page using an image rotation script. All of the images are different sizes. The images are stretching the page im having to scroll horizontally to view the large images. Is there a way i can set max width/height without stretching or contorting the images so that they all fit within the contours of the table and auto resize? Quote Link to comment Share on other sites More sharing options...
haku Posted March 20, 2008 Share Posted March 20, 2008 Are you using PHP? Quote Link to comment Share on other sites More sharing options...
leeandrew Posted March 20, 2008 Author Share Posted March 20, 2008 the rotation script is written in PHP, the code on the page i display the images uses html <a href='.... to call the images, i just put the location as 'mysite.com/images/rotate.php' instead of an image file Quote Link to comment Share on other sites More sharing options...
haku Posted March 20, 2008 Share Posted March 20, 2008 http://jp2.php.net/getimagesize Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.