N
N
nanny_ogg2017-08-17 09:23:09
TinyMCE
nanny_ogg, 2017-08-17 09:23:09

Is it possible to resize an image upload using TinyMCE in Wordpress?

Actually, a question. When you click on the Add media file button from the frontend, by default, as far as I understand, a thumbnail-sized image is loaded. Can I somehow increase it to medium at least?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maksym Davydchuk, 2017-08-17
@maksym1991

Try

function custom_image_size() {
    update_option('image_default_size', 'large' ); //medium или другой какой хотите
}
add_action('after_setup_theme', 'custom_image_size');

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question