# How to use render-image.html to customize the rendering image path

**URL:** <https://discourse.gohugo.io/t/how-to-use-render-image-html-to-customize-the-rendering-image-path/48103>\
**Category:** support\
**Created:** [February 4, 2024, 9:45am UTC](https://discourse.gohugo.io/t/how-to-use-render-image-html-to-customize-the-rendering-image-path/48103 "2024-02-04T09:45:54Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jackadam1981](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jackadam1981/32/21214_2.png) [@jackadam1981](https://discourse.gohugo.io/u/jackadam1981)\
**Post date:** [February 5, 2024, 12:37am UTC](https://discourse.gohugo.io/t/how-to-use-render-image-html-to-customize-the-rendering-image-path/48103/3 "2024-02-05T00:37:55Z")

</div>

```auto
<p class="md__image">
  <img src="/{{ path.Dir page.File }}/{{ .Destination | safeURL }}" alt="{{ .Text }}" {{ with .Title }} title="{{ . }}" {{ end }} />
</p>

```

{{ path.Dir page.File }}

---

_[View the full topic](https://discourse.gohugo.io/t/how-to-use-render-image-html-to-customize-the-rendering-image-path/48103)._
