Use the ACF (Advanced Custom Fields) plugin. It provides a "Gallery" field for uploading multiple images. Here’s how to display them:
This code retrieves and displays the gallery images.