how to find all images in a wordpress theme folder code example
Example: get image from theme folder wordpress
<img src="/wp-content/themes/your-theme/assets/images/1.jpg" />
<img src="/wp-content/themes/your-theme/assets/images/1.jpg" />