Getting image from theme directory in pages 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" />