How to display 2 images with different sizes the same

Discussion in 'HTML & Website Design' started by tom11011, Jul 16, 2012.

  1. #1
    Hi there,

    I have a website that displays 2 images side by side. The images are photos that are of different sizes. How can I get them to display approximately the same size as each other without distorting the image? IE the width is more important than the height. html or php either one.

    Thanks in advance.
     
    tom11011, Jul 16, 2012 IP
  2. 3dy.ro

    3dy.ro Member

    Messages:
    100
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    45
    #2
    My answer might be retardedly simple but here we go:

    As long as you keep the width-to-height ratio, the images shouldn't get distorted.
     
    3dy.ro, Jul 16, 2012 IP
  3. tom11011

    tom11011 Well-Known Member

    Messages:
    1,117
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    165
    #3
    I was thinking automated, thanks.

     
    tom11011, Jul 17, 2012 IP