• When attaching images to a post and the image is not in proportion to the selected size in the “size” select-list in attachment window – the image is cropped on either the x or y axis.

    How do I maintain the proportions of my images, but limit the size to either the predefined x/y as “max-limiters”? I don’t want my images being cropped.

Viewing 2 replies - 1 through 2 (of 2 total)
  • When you attatch images in wordpress the thumbnail is generated by the code and haves a size 150*150px… WordPress automatically crops the image if is needed to fit in a square….

    Algo generates a medium size image (and a big image if you image is too big) but keeping the proportions

    By the way some themes set a “max-width” and a “max-height” to avoid users insert a image too big in a post, images than could create a big messy in the layout.

    Also, some themes (lot of them, actually) sets rules to partially hide content in case of it “overflows” the viewport (to avoid messy the layout, again)

    It’s possible you′re using too big images? If you can post some links to your site to see the problem will be easier try help you.

    Thanks ??

    Thread Starter vebut

    (@vebut)

    Sorry for the late reply; my images are raw at about 2.5k x 3.0k and just a couple of versions ago the uploads where working just fine.

    Now, if I upload an image of a person sometimes all that is left after the auto-cropping is the torso.

    Is there a plugin that enables a max height/width where the image keeps its proportion without cropping? If the image is too tall, I want the width to be smaller, if the image is too wide – the height should be lower. (relative to min/max)

    I understand why this is happening, what I don’t understand is why wordpress is cropping instead of resizing. This is only ruining the original image when displayed in-post.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Attaching image to post crops it’ is closed to new replies.