• Resolved helloymke

    (@helloymke)


    Hello,
    I am setting up another wp site and when I insert an image in a post it shrinks.
    I choose full size and of course this is a smaller size than the page.
    It shows the sizes of the picture correct but when it’s uploaded I see a
    shrinked version of the picture, almost the shape of a square. The ‘whole’ image is squeezed in, (so it’s no crop.)
    I followed all the media/image problems suggestions but without result.
    Anyone??
    Thanks in advance,
    your help is really appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • can you post a link to your site?
    could be a css issue ??

    Thread Starter helloymke

    (@helloymke)

    Yes, of course
    it’s phanin.com
    although there are no images there right now.

    this line in style.css of your theme can cause trouble in some browsers, if the image is wider than the max limit:

    #content .post-content img {
    
    	max-width: 460px;
    
    }

    CORRECTED: you could change the line , take way the ‘img’ and add ‘overflow:hidden;’ instead of the width, the result would allow the image to take the availble space and look like ‘cropped’ images.

    #content .post-content  {
    
             overflow:hidden;
    }

    or you could set the size limits in ‘admin’ -> ‘settings’ -> ‘media’ -> ‘medium size – max width’ to 460px, and insert the image as medium size (i think wordpress will size the image proportional) ??

    Thread Starter helloymke

    (@helloymke)

    Yes,
    Thank you so much, everything works now!
    I used

    #content .post-content {

    overflow:hidden;
    }

    instead…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘help! images in posts shrink :(’ is closed to new replies.