How to auto reseize any picture

Discussion in 'HTML & Website Design' started by Algore, Apr 5, 2009.

  1. #1
    Hey

    I use openx ads for changing ads automatically on every refresh.

    But there is a problem ... in my website i have a space of 500 x 400 to put a ads

    How say a picture is 800 x 600 large .. when i insert it , it only shows the 500 x 400 part and others are ignored so how can i auto resize so that no portion of the picture is ignored

    Please help i use wordpress 2.7 btw
     
    Algore, Apr 5, 2009 IP
  2. ExtremeData

    ExtremeData Well-Known Member

    Messages:
    450
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    125
    #2
    If you add width and height to the image the browser will "resize" it automatically.
    <img src="..." width="500" height="400" />
     
    ExtremeData, Apr 6, 2009 IP
  3. Algore

    Algore Peon

    Messages:
    963
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #3
    say i have pics in mysite.com/pics

    Is there a way in wordpress that i can get the pictures from that folder and get displayed in index page like a slide show or display random pics after every refresh

    Regards
     
    Algore, Apr 6, 2009 IP
  4. ExtremeData

    ExtremeData Well-Known Member

    Messages:
    450
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    125
    #4
    You can use NextGEN Gallery plugin for wordpress (wordpress.org/extend/plugins/nextgen-gallery)
     
    ExtremeData, Apr 6, 2009 IP