how to get the image in wordpress theme 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" />