image - Regenerate wordpress thumbnails proportionally -
i have carousel that's populated featured images, want featured images have max height.
in functions.php have:
add_theme_support( 'post-thumbnails' );
in settings > media have disabled hard crop function.
none of featured images seem respect 150 x 150 width specified. after regenerating. appear in full size uploaded.
now preferably want resize these images fixed height (they're in carousel) , keep proportions,
how can achieve this?
first try , set new thumbnail size in functions.php
file below call post-thumbnails
. along these lines:
set_post_thumbnaul_size(75,75);
then use plugin such regenerate-thumbnails re-make thumbnails new size you.
Comments
Post a Comment