wordpress add new thumbnail size of image

wordpress admin has 3 default image sizes i.e thumbnail,medium,large.How can i add one more type (ex:700px X 500px)so that if i upload an image it also saves in all four sizes.
Thanks in advance.

Related posts

Leave a Reply

2 comments

  1. Add the following to your functions.php file.

    add_image_size( 'name-of-size', 700, 500, true );
    

    More information can be found here.

    **Also note that you will need to regenerate thumbnails for those images which were previously uploaded, if you need them in the new size.