Answer the question
In order to leave comments, you need to log in
[WP] How to upload different image sizes?
Tell me how to make it so that different image sizes are loaded on WP.
Specifically, you need to make sure that when adding to a record, only one file is created, and when adding a thumbnail, 4 files of different sizes are created.
Answer the question
In order to leave comments, you need to log in
In functions.php
add_image_size( 'thumb1', 220, 180,true );
add_image_size( 'thumb2', 220, 180,true );
add_image_size( 'thumb3', 220, 180,true );
add_image_size( 'thumb4', 220, 180,true );
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question