Image carousel with ACF Gallery Field + UABB Image Carousel module
Please Note
The UABB Image Carousel module does not ship with sane image sizes. If you need a perfectly square image size (so you don't have to do it from CSS), add the below code to your functions.php file:
function uabb_add_custom_image_sizes($size_arr) {
$size_arr = array(
'full' => __( 'Full', 'uabb' ),
'large' => __( 'Large', 'uabb' ),
'medium' => __( 'Medium', 'uabb' ),
'thumbnail' => __( 'Thumbnail', 'uabb' ),
'medium_square' => __( 'Medium Square', 'uabb' ),
);
return $size_arr;
}
add_filter( 'uabb_image_carousel_sizes', 'uabb_add_custom_image_sizes' );
add_image_size( 'medium_square', 300, 300, true);
Then, install a media regeneration plugin like this one to regenerate the new image size.
Your new image size should now be selectable from within the module settings:
If you need more image sizes, feel free to edit the above code.