Image Size Proportional

Discussion in 'CSS' started by +:::Spider25:::+, May 10, 2006.

  1. #1
    Hi, I have a gallery of images with different orientations and sizes, I have to resize them with height and width limits, but I want to resize them proportionally, Is there some way to do this with css?


    Thanks a lot
     
    +:::Spider25:::+, May 10, 2006 IP
  2. JudyJiaStyle

    JudyJiaStyle Well-Known Member

    Messages:
    139
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    108
    #2
    I don't think so. Nothing off the top of my head anyway. You can probably do it in javascript or DHTML.

    You might consider doing a resizing batch in photoshop, it can resize by percentage. Even if CSS works, it doesn't reduce the load and has a tendency to look pixelated.
     
    JudyJiaStyle, May 10, 2006 IP