Image size customizing

Discussion in 'HTML & Website Design' started by webmoney, Jul 3, 2011.

  1. #1
    I have images of various sizes from external source and I want them fit to height 100 or width 100 and keep their proportinal size... so I can not use
    height=100 widht=100 as attributes... so right now I am changing only width but when comes picture wide 20 and high 100 than it change widht to 100 and hight to 500 and in this case I need to keep height 100.

    Is there some simple CSS or something else I could use?
     
    webmoney, Jul 3, 2011 IP
  2. rolanduc

    rolanduc Member

    Messages:
    175
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    28
    #2
    If you are willing to pay for this, I will be able to do it for you.

    Best Regards.
    RolandImagine.
     
    rolanduc, Jul 3, 2011 IP
  3. rolanduc

    rolanduc Member

    Messages:
    175
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    28
    #3
    If you are willing to pay for this, I will be able to do it for you.

    Best Regards.
    RolandImagine.
     
    rolanduc, Jul 3, 2011 IP
  4. getadviced

    getadviced Well-Known Member

    Messages:
    557
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    130
    #4
    if only modifying html attribute, then use max-width:100px; and max-height:100px; in the css

    so
    #id img{
    max-width:100px;
    max-height:100px;
    }

    will do that
     
    getadviced, Jul 3, 2011 IP
    webmoney likes this.
  5. ApocalypseXL

    ApocalypseXL Notable Member

    Messages:
    6,095
    Likes Received:
    103
    Best Answers:
    5
    Trophy Points:
    240
    #5
    This is NOT the market forum . Go post your sloppy offers over there .

    That would be the way to go . Or just simple width and height attributes .
     
    ApocalypseXL, Jul 4, 2011 IP
    webmoney likes this.
  6. webmoney

    webmoney Well-Known Member

    Messages:
    1,119
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    155
    #6
    That is what I was looking for... going to test it... I knew there must be simple way to do it.
     
    webmoney, Jul 4, 2011 IP
  7. jackburd

    jackburd Active Member

    Messages:
    396
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    73
    #7
    knowledge is free here. if you post something like this, you're not helping this forum
     
    jackburd, Jul 4, 2011 IP