Closed swissspidy closed 3 days ago
Thumbnails: add a few custom image sizes, verify all are generated and client & server sizes are more or less matching
add_action(
'init',
static function () {
add_image_size( 'bottom-right', 220, 220, array( 'right', 'bottom' ) );
add_image_size( 'custom-size', 100, 100, array( 'left', 'top' ) );
add_image_size( 'ninek-height', 400, 9999 );
add_image_size( 'ninek-width', 9999, 600 );
}
);
Images
Videos
Audio
PDFs
Media Recording
Related:
Cross-origin isolation
Upload Requests