• m coming from this topic
    http://wordpress.org/support/topic/featured-image-cropped-on-top

    I need my thumbnails cropped in the bottom and centered in horizontal position. From link Alexander gave i’ve found that to do it i have to use array as last parameter in add_image_size function. So i changed functions.php:

    add_image_size( 'thumb-small', 160, 160, array( 'center', 'bottom' ) );
    add_image_size( 'thumb-medium', 520, 245, array( 'center', 'bottom' ) );
    add_image_size( 'custom-size', 720, 340, array( 'center', 'bottom' ) );

    uploaded it on server, refreshed thumbs with “Regenerate Thumbnails” plugin but nothing happened. I even erased last part of add_image_size for each kind of thumbs, refreshed thumbs to see what will happen and as expected all thumbnails had different sizes. So function work with booleans and when last parameter doesnt exist but not with arrays. Dont know if its my, theme or wordpress fault as whole. Im using 3.9.1 wordpress

    [Moderator Note: No bumping, thank you.]

  • The topic ‘Cropping specific sides of picture with arrays’ is closed to new replies.