# Use \<img tag with image inside theme folder

**URL:** <https://community.hubspot.com/t/use-img-tag-with-image-inside-theme-folder/27361>\
**Category:** CMS Development\
**Created:** [October 29, 2020, 11:58am UTC](https://community.hubspot.com/t/use-img-tag-with-image-inside-theme-folder/27361 "2020-10-29T11:58:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexgulen](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/alexgulen/32/30597_2.png) [@alexgulen](https://community.hubspot.com/u/alexgulen)\
**Post date:** [October 29, 2020, 11:58am UTC](https://community.hubspot.com/t/use-img-tag-with-image-inside-theme-folder/27361/1 "2020-10-29T11:58:20Z")

</div>

For some fixed images in my Hubspot theme i want to add a simple \<img tag with it’s src pointing to an image inside the /images/ folder of the theme folder.

How do i get the right URL? get\_asset\_url or something doesn’t seem to work.

---

<div class="post-metadata">

**Author:** ![Anton](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/anton/32/103167_2.png) [@Anton](https://community.hubspot.com/u/Anton)\
**Post date:** [October 29, 2020, 3:17pm UTC](https://community.hubspot.com/t/use-img-tag-with-image-inside-theme-folder/27361/2 "2020-10-29T15:17:26Z")

</div>

Hi @alexgulen,

if you place the fixed images in the design-manager you can right-click on it and select “copy path” and paste it directly into the src=“” of your img-tag

best,

Anton

---

<div class="post-metadata">

**Author:** ![alexgulen](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/alexgulen/32/30597_2.png) [@alexgulen](https://community.hubspot.com/u/alexgulen)\
**Post date:** [October 30, 2020, 7:54am UTC](https://community.hubspot.com/t/use-img-tag-with-image-inside-theme-folder/27361/3 "2020-10-30T07:54:41Z")

</div>

The solution i was looking for is using the get\_asset\_url function.

For example \<img src=“{{ get\_asset\_url(‘../../images/image.jpg’) }}” /\>

Make sure to set te correct path ( ‘../’ or ‘../../’ ) arrording to wich folder the html file is inside the theme folder structure.
