Pin It on Pinterest

add_filter( 'et_pb_gallery_image_width', 'custom_image_width' ); function custom_image_width($width) { return '400'; } add_filter( 'et_pb_gallery_image_height', 'custom_image_height' ); function custom_image_height($height) { return '400'; } add_image_size( 'custom-image-size', 400, 400, array( 'center', 'center' ) );