Reducing external images sizes in blog ?

Discussion in 'HTML & Website Design' started by WRocker, Jul 19, 2009.

  1. #1
    Hello

    i run a blog that users post articles inside it.

    sometimes a user could insert an article that contains an external image which is pretty big in dimensions.

    is there any script that would decrease the size of these posted images automatically so it doesn't screw the website design ?

    thanks in advance
     
    WRocker, Jul 19, 2009 IP
  2. gareth_gillman

    gareth_gillman Peon

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    you could add this to your css to see if that helps

    img {
    width: 300px;
    height:300px;
    }

    change the width and height to what you want them to be

    i haven't tested this and may not work, but it works with normal images in a html page
     
    gareth_gillman, Jul 19, 2009 IP
  3. WRocker

    WRocker Active Member

    Messages:
    32
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    93
    #3
    ok i'll give it a shot .. thanks in advanced
     
    WRocker, Jul 26, 2009 IP