WordPress.org

Ready to get started?Download WordPress

Forums

Media > Image Sizes aren't being applied to uploads (7 posts)

  1. ryansebiz
    Member
    Posted 3 years ago #

    Under Media Settings I edited the Image Sizes to the following:

    - Thumbnail size: 170x80
    - Medium size: 550x170
    - Large size: 550x320
    - ("Crop thumbnails to exact dimensions" is checked)
    - Maximum embed size: Width 1000, Height 1000

    My problem is when I upload an image it ignores these dimensions. For example, when I upload a 550x320 image, and then try to add it to a post, it has been cropped to the following sizes (uploads folder shows the same):

    - Thumbnail size: 137x80
    - Medium size: 292x170
    - Large size: (unavailable)
    - Original size: 550x320

    How can I get these image sizes working correctly?

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    It is working correctly. In the case you quoted, the image has been resized using the max-height (80 and 170px) with the width adjust accordingly.

  3. ryansebiz
    Member
    Posted 3 years ago #

    So it only resizes; it doesn't crop? If so, is it possible for it to automatically crop the image?

  4. esmi
    Forum Moderator
    Posted 3 years ago #

    Yes. It will only crop the Thumbnail image if you tick the "Crop to exact size" in Settings->Media.

  5. ryansebiz
    Member
    Posted 3 years ago #

    Weird - I checked that (from my first post). Unfortuantely it's cropping it to 137x80 instead of 170x80 as I specified.

    What am I doing wrong?

  6. esmi
    Forum Moderator
    Posted 3 years ago #

    Did you tick the "Crop image..." box before or after to you uploaded the image? You can't apply the settings retrospectively without using a plugin.

  7. ryansebiz
    Member
    Posted 3 years ago #

    Yes, I checked that box. I also uploaded additional images and encountered the same problem. Not worried about retroactively cropping.

Topic Closed

This topic has been closed to new replies.

About this Topic