Galleries are a great way to display images and photos on your site. To create a Gallery, go to Add Media in your Post editor. On the side, you will see an option called Create Gallery. All your previous uploaded images will be available here. Just select the ones you want to include and click Create a New Gallery this brings us to the Gallery Editor.
Here you can give your pictures captions as well as change the order of appearance by dragging them around. By default, galleries are set to Attachment page, which allows users to flip through your images. You can also set this to Media file, which will display the image at full resolution and bypasses any of the theme settings. If you only want the Gallery viewable from the post, you can set this to none. You can also specify how many columns you want your images to be in.
Checking this option will display your images in a random order every time the page is opened. When you are finished, click Insert Gallery. You will be able to see a preview of your Gallery right in your editor. If you ever need to edit your Gallery, simply click it and select the Edit icon.