landscape and portrait (Full Version)

All Forums >> [Web Development] >> General Web Development



Message


wizard_oz -> landscape and portrait (5/18/2009 14:24:50)

Hi, I have an image with the some size for example 700X500 and another image with the size 200X500 which mean one of them is landscape and the other is portrait. I need to change the size of the pictures but I would like to keep the height of both pictures 100px . Is there away to do it?




treetopsranch -> RE: landscape and portrait (5/18/2009 15:48:34)

Sure...in the photo editing program of your choice, when you do a re size, there should be a "Keep Aspect Ratio" button. Make sure that is unchecked and then you can make your height anything you want.




wizard_oz -> RE: landscape and portrait (5/18/2009 16:43:53)

I meant when you do the imag tag like <img src..... height=xxx width=yyy> I need the xxx shoud be constant like 100px and the width should change like the picture ratio




swoosh -> RE: landscape and portrait (5/18/2009 17:03:22)

The height and width properties of the <IMG> tag are static. One won't change based on the other ones dimensions.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0625