• Resolved kmelvin

    (@kmelvin-1)


    Hi,

    When I add an image to a blog post, changes to the image size are not reflected.

    I’m trying to ensure the image sizes of each post match. I’ve cropped and resized the images but the change is not visible when I view the site.

    Am I missing something?

    Thanks
    Karl

Viewing 5 replies - 1 through 5 (of 5 total)
  • @kmelvin this is because the theme is set to crop the images to fit the predetermined sizes for thumbnails and other versions of the featured image.

    I assume you are talking about the image thumbnails on the front page under the “Latest news” section. You might be having issues because thaat thumbnail is set to be a perfect square, so if your images have a different aspect ratio, they will be cropped and not resized keeping your original aspect ratio. To change this go to functions.php in the theme directory and find
    add_image_size('post-thumbnail', 250, 250, true);

    Leave the first 250 (width) and correct the 250 to reflect your desired aspect ratio. This worked well for me, hope it helps! In that same section, you can change the way the theme crops images for different devices, make sure you check out what measurements work for you.

    To keep in mind for the future, it would be a good idea to have your featured images always have the same dimensions.

    Thread Starter kmelvin

    (@kmelvin-1)

    @minahark Thanks a million for getting back, that sorted the issue.

    Cheers
    Karl

    Hi All,

    Does this theme support only squarred featured images? I mean I can only use the sizes: 205*250 or 300*300, etc., however, when I type 300*200 nothing happens.

    Thank you.

    Alexandra

    (@alexandrastan001)

    Hello @titaan,

    Yes, the theme was designed to support squarred featured images. However, you can edit the code yourself if you know how to specifically do that.

    Best regards,
    Alexandra

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Latest Posts – Featured image’ is closed to new replies.