# Images are not showing

**URL:** https://forum.pinegrow.com/t/images-are-not-showing/7164
**Category:** Pinegrow Theme Converter
**Tags:** code, wordpress
**Created:** [November 2, 2022, 12:32am UTC](https://forum.pinegrow.com/t/images-are-not-showing/7164 "2022-11-02T00:32:02Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![trueman](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/trueman/32/1162_2.png) [@trueman](https://forum.pinegrow.com/u/trueman)
#### Post date: [November 2, 2022, 12:32am UTC](https://forum.pinegrow.com/t/images-are-not-showing/7164/1 "2022-11-02T00:32:02Z")

</div>

How can I change this code in pinegrow theme converter? I add it from the php code panel, but it doesn’t change. So I can’t show the image. I want to do this in the program. Is there a way to do this?

```auto
<img class="u-expanded-height u-hover-feature u-image u-image-default u-image-4" 
src="<?php echo esc_url( get_template_directory_uri() ); ?>
/images/character.jpg" alt="" data-image-width="1400" data-image-height="700">

<!-- Functions.php section Include Resources -->
require_once "inc/wp_pg_helpers.php";

```

```auto
<?php echo esc_url( get_template_directory_uri() ); ?>

```

replace with this;

```auto
<?php echo esc_url($image['url']); ?>" alt="<?php echo esc_attr($image['alt']); ?>

```

---

<div class="post-metadata">

### Author: ![trueman](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/trueman/32/1162_2.png) [@trueman](https://forum.pinegrow.com/u/trueman)
#### Post date: [November 4, 2022, 12:53pm UTC](https://forum.pinegrow.com/t/images-are-not-showing/7164/2 "2022-11-04T12:53:27Z")

</div>

Solved with replace attribute.
