The WordPress built-in galleries by default use the “full” as a size for the images but in some cases condition arise that you want to set up a different size. Well, this can be done by simply using the following snippet which you have to paste in your theme’s functions.php file with which you can set the default image size in your built-in WordPress galleries.

Snippet Source/Credit: emoticode