When a user adds media to the WYSIWYG, is there a way to set the default image size to large?

It defaults to medium, I'd like this to be "large" without the user having to change the value.

enter image description here

1 Answer 1


If you add this to functions.php, this will update the options as set.

function custom_image_size() {
    // Set default values for the upload media box
    update_option('image_default_align', 'center' );
    update_option('image_default_size', 'large' );

add_action('after_setup_theme', 'custom_image_size');

You can update the options as you need.


Not the answer you're looking for? Browse other questions tagged or ask your own question.