Please help urgenttttt

Discussion in 'WordPress' started by softech02, Sep 5, 2013.

  1. #1
    Hi guys,

    I have one WP blog which I run since 6 months. All were going everything fine but today I noticed that the images of the posts have automatically became larger in size and the entire site became a mess because of big images. On discussing it with my friend, he told me that newer version of wordpress automatically increases the image site. Yes I updated to latest version.

    Now it is not possible to manually go to each posts as the posts are in thousands. Is there any ways i could use some code to restrict all the images to a size I want? or is there any other good way you could suggest to cope with this situation?

    Please help me out.
    Thanks in advance.
     
    softech02, Sep 5, 2013 IP
  2. Nigel Lew

    Nigel Lew Notable Member

    Messages:
    4,642
    Likes Received:
    406
    Best Answers:
    21
    Trophy Points:
    295
    #2
    Nigel Lew, Sep 5, 2013 IP
  3. Imgar

    Imgar Greenhorn

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #3
    it's more helpful if you can provide your site URL here.
    Anyway, try to add this to your style.css. It should work well.
    img{max-width:100%;height:auto;}
    Code (markup):
     
    Imgar, Sep 5, 2013 IP
  4. matt_62

    matt_62 Prominent Member

    Messages:
    1,827
    Likes Received:
    515
    Best Answers:
    14
    Trophy Points:
    350
    #4
    are the images being displayed at their actual size, or larger?
     
    matt_62, Sep 5, 2013 IP
  5. softech02

    softech02 Banned

    Messages:
    920
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    70
    #5
    all the images are being displayed larger however earlier they were of the size I set.
     
    softech02, Sep 6, 2013 IP
  6. softech02

    softech02 Banned

    Messages:
    920
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    70
    #6
    None of the suggested method works
     
    softech02, Sep 6, 2013 IP
  7. crazy4warez

    crazy4warez Well-Known Member

    Messages:
    624
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    130
    #7
    As Imgar said, it would be more helpful if you could share URL with us.
     
    crazy4warez, Sep 6, 2013 IP
  8. nicolaze

    nicolaze Active Member

    Messages:
    132
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    53
    #8
    Have you changed the theme?
     
    nicolaze, Sep 6, 2013 IP
  9. ninjamtlt1

    ninjamtlt1 Active Member

    Messages:
    1,704
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    88
    #9
    I like what imgar suggested, that should work, but otherwise you might look for a plugin that can automatically adjust image sizes, there probably is one out there somewhere.
     
    ninjamtlt1, Sep 11, 2013 IP