wp image size issue

Discussion in 'Web Design' started by opensource, Dec 19, 2012.

to remove all ads.
  1. opensource

    opensource New Member

    Messages:
    67
    Hi
    I have a problem about uploading some images in my wp blog.
    I have a content div which is 700 width then my image has a
    width of 800, and then when it displays in my blog. The image
    will overlap from the content div width of 700px.
    How do i fix it when I upload some image that has more than
    a width of 700, and then once uploaded, the image will
    automatic follow the width of the div content blog.

    I have played in css and set a width in the class div img
    and all the img will follow the size from the content blog,
    but then some images has a lower width size of 700
    like for example i have an image of 400px, and once i upload
    it and post it. The image will automatic
    fix into 700 which the image will auto stretch out the width.

    So i was wondering what will be the best solution for these issue
    that once i upload some image that has more than 700px, it will
    automatic set into 700 instead of the original size. I can't set all
    the width of the img in the div content cause my images will have
    different sizes. I can't even put in actual <img width etc in blog post
    cause many of my writers don't know about html and we don't have
    much communication. So I'd like to set an automatic width for the
    images that has more than 700px etc.

    Any advice of the best solution ? Anyone have tried it or similar?

    Thanks advance.
     
  2. chrishirst

    chrishirst Well-Known Member Staff Member

    Messages:
    2,662
  3. Lizyd Design

    Lizyd Design New Member

    Messages:
    54
    Have you tried "max-width" in your CSS?
     
  4. ronaldroe

    ronaldroe Super Moderator Staff Member

    Messages:
    1,223

Share This Page