I am using thumbnail on my blog posts. I added the following code in my functions.php for that purpose
add_theme_support('post-thumbnails'); set_post_thumbnail_size( 328, 228, true );
It's working fine and all thumbnails are 328 x 228
Now I want to change the thumbnail size only for a specific category ID is 9.
Post under category ID 9's thumbnails must be 100 x 150.
how can I do that?