Using a WordPress loop to pull images directly from the WordPress Media Library and displaying them with a shortcode.
A crucial part of filtering the images you want to show from the rest of what is in your media library is done by attaching a taxonomy to the media library items. This has the added benefit of creating the foundation needed to allow for filtering of the gallery on the front end as well.
![Filterable Gallery that pulls images straight from the media library](https://www.blindemanwebsites.com/today-i-learned/wp-content/uploads/2020/09/filterable-gallery-wordpress-1024x513.png)