The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Change the way images are cropped on posts page (2 posts)

  1. droidiser
    Posted 2 years ago #

    Hi there,

    First of all, an excellent job with the theme. Thanks for keeping it free. Will certainly donate something one day.

    Coming to my question, is it possible to change the way images are cropped to something like the ones that are cropped here: http://pingrey-ivy.blogspot.in/

    I would be obliged if you could share the code changes required. Thanks for your time.

  2. Alexander Agnarson
    Posted 2 years ago #

    Hi! Thanks.

    To change thumbnail sizes, you need to copy over the alx_setup function from functions.php to the child theme's function.php and modify the following lines:

    add_image_size( 'thumb-medium', 520, 245, true );
    add_image_size( 'thumb-large', 720, 340, true );

    To the sizes you want. Then regenerate thumbnails.

    Refer to the documentation in the help dropdown in theme options, under the section "Child Theme" to see how to work with a child theme.

    If you only want to change which part of the image that is visible, you can try this plugin:

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic