Automatically resize thumbnails

Home Forums Iconic One Pro Support Automatically resize thumbnails

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

    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.


    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.