• Hi there!

    Okay, so I went through some of the topics already posted, with a similar issue, but I couldn’t find a solution after trying several things.

    I am using a ready made theme, which initially had different sizes for the thumbnails in the “RECENT ARTICLES” section. I resized them to 295px by 310px to suit the design better.

    I never used “preview” or “thumbnail” images for my posts before, but now for this theme, I decided to go for it so I’ll have to manually add them all. I tried one post first, and in the beginning the image was stetched terribly. I then set the height to auto, so it looks okay but the problem is, it’s cropped and looks nothing like the original picture. (also, the black border is just there so I don’t get confused with the white background)

    I’m guessing this has something to do with the original coding of the theme, which had shorter rectangles for the preview images. But I can’t seem to find the hidden coding anywhere. The functions.php is empty, and there’s nothing in the loop either.

    I’d appreciate it if anyone can help! Thank you.

    PROBLEM IMAGE:
    PROBLEM IMAGE

    ORIGINAL IMAGE:
    ORIGINAL IMAGE

    THEME LINK:
    https://themecobra.com/themes/svelte/

    Link to my website: https://www.ellevox.com

    • This topic was modified 8 years, 6 months ago by restlessness.
Viewing 3 replies - 1 through 3 (of 3 total)
  • This is cropped due to theme setting as image size is specified width=295px and height=”190″ that why wordpress crop the image and display image as per specified size.

    Now go to setting > media and changes the thubnail images width and height to width=295px and height=310px and good to.

    Thread Starter restlessness

    (@restlessness)

    Thanks a lot for your speedy reply. Regarding the specified width and height, where do I find them? There’s nothing in the CSS that specifies the image size with a height of 190.

    I already changed the width and height in the settings, but I unchecked the box that says “crop thumbnails to exact dimensions. The problem is still the same..

    • This reply was modified 8 years, 6 months ago by restlessness.

    After making any changes to the images sizes in Settings -> Media, you need to install & run https://www.ads-software.com/extend/plugins/regenerate-thumbnails/ to force those changes onto already uploaded images.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Thumbnail Image for Posts is either Cropped or Resized’ is closed to new replies.