Answer the question
In order to leave comments, you need to log in
Is it possible to crop the thumbnail at all depending on the category?
As it turned out, the new size of the picture (thumbnail) is registered only once and only here:
function woocommerce_setup() {
add_image_size( 'own_thumbnail_all', 70, 55 );
}
add_action( 'after_setup_theme', 'woocommerce_setup' );
add_image_size( 'own_thumbnail_all', 70, 55, true );
add_image_size( 'own_thumbnail', 70, 55, false );
Answer the question
In order to leave comments, you need to log in
You can generally disable the generation of thumbnails, and sprinkle on the fly in the right place, for example, using this https://github.com/bfintal/bfi_thumb
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question