NO BUG: Bricks does not add custom image sizes

Browser: Chrome 110
OS: macOS


i’ve toggled on and off. is it supposed to add custom sizes?

Hi,
Thanks for your report!

The image sizes from the Media Settings are the WordPress default image sizes. If you enable the option in the Bricks Settings, the following additional image sizes will be created:

// Theme-specific image sizes
if ( isset( Database::$global_settings[‘customImageSizes’] ) ) {
add_image_size( ‘bricks_large_16x9’, 1200, 675, true );
add_image_size( ‘bricks_large’, 1200, 9999 );
add_image_size( ‘bricks_large_square’, 1200, 1200, true );
add_image_size( ‘bricks_medium’, 600, 9999 );
add_image_size( ‘bricks_medium_square’, 600, 600, true );
}

Best regards,
timmse

indeed it’s working. must’ve been tired :slight_smile: