Automatically resize thumbnails

Home Forums Iconic One Pro Support Automatically resize thumbnails

This topic contains 1 reply, has 2 voices, and was last updated by  Themonic-Support 7 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4710

    account
    Participant

    Hi, how can I automatically resize thumbnail size?
    Example – size of the image is too big and if this image is added as featured image Iconinc one shows only the middle part of the image. It does not resize it to smaller one.

    I have emailed you this question, but I think everybody would need to know this answer.

    #4711

    Try this:

    open Appearance -> Editor -> functions.php

    on line 51 you will see

    
    add_image_size('excerpt-thumbnail', 200, 140, true); // Sets Index Page Thumbnails

    Replace it with

    add_image_size('excerpt-thumbnail', 200, 140, false); // Sets Index Page Thumbnails

    We just changed true to false.

    true: images will be cropped : this is the default
    false: images will be scaled : can cause uneven sizes if your parent images are of different sizes.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.