# Where to place external assets?

**URL:** <https://forum.ionicframework.com/t/where-to-place-external-assets/42762>\
**Category:** ionic-v3\
**Created:** [February 3, 2016, 9:49am UTC](https://forum.ionicframework.com/t/where-to-place-external-assets/42762 "2016-02-03T09:49:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![crkvend](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@crkvend](https://forum.ionicframework.com/u/crkvend)\
**Post date:** [February 3, 2016, 9:49am UTC](https://forum.ionicframework.com/t/where-to-place-external-assets/42762/1 "2016-02-03T09:49:37Z")

</div>

Has anyone had any experience with custom assets and where to place them within the project? I have an assets folders with images that are to be used within the app, and i tried placing it in the www folder, and while it works in the browser, the images can’t be reached in an emulator or a real device. If I place it within the build forlder, it works fine, but the build folder doesn’t really exist before the initial build, and it seems like there should be a better way.

Anyone solved this problem?

---

<div class="post-metadata">

**Author:** ![richardshergold](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/richardshergold/32/91823_2.png) [@richardshergold](https://forum.ionicframework.com/u/richardshergold)\
**Post date:** [February 3, 2016, 9:52am UTC](https://forum.ionicframework.com/t/where-to-place-external-assets/42762/2 "2016-02-03T09:52:40Z")

</div>

My images are placed in a www/img folder and they display ok on the device.

---

<div class="post-metadata">

**Author:** ![crkvend](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@crkvend](https://forum.ionicframework.com/u/crkvend)\
**Post date:** [February 3, 2016, 9:55am UTC](https://forum.ionicframework.com/t/where-to-place-external-assets/42762/3 "2016-02-03T09:55:53Z")

</div>

> [@richardshergold](#):
>
> www/img

Hmm, how are you referencing them? I’ve tried several paths and use this for now, but it doesn’t work on the device:  
`<img [hidden]="title" class="logo" src="../img/logo.svg">`

(So up one level from the build folder, and into the img-filder, but it seems the project doesn’t have access outside the build folder.)

---

<div class="post-metadata">

**Author:** ![richardshergold](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/richardshergold/32/91823_2.png) [@richardshergold](https://forum.ionicframework.com/u/richardshergold)\
**Post date:** [February 3, 2016, 9:57am UTC](https://forum.ionicframework.com/t/where-to-place-external-assets/42762/4 "2016-02-03T09:57:28Z")

</div>

Here’s an example of what I do:

```
<ion-avatar item-left>
<img src="img/{{entry.Photo}}.jpg">
</ion-avatar>
```

---

<div class="post-metadata">

**Author:** ![richardshergold](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/richardshergold/32/91823_2.png) [@richardshergold](https://forum.ionicframework.com/u/richardshergold)\
**Post date:** [February 3, 2016, 9:59am UTC](https://forum.ionicframework.com/t/where-to-place-external-assets/42762/5 "2016-02-03T09:59:33Z")

</div>

check your ionic.config.js - maybe there’s something wrong in there?

---

<div class="post-metadata">

**Author:** ![luchillo17](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/luchillo17/32/78209_2.png) [@luchillo17](https://forum.ionicframework.com/u/luchillo17)\
**Post date:** [February 3, 2016, 1:10pm UTC](https://forum.ionicframework.com/t/where-to-place-external-assets/42762/6 "2016-02-03T13:10:15Z")

</div>

Take in account that the relative paths from any html file are actually being called from the `index.html` path as that’s the entry point and all other html gets embedded in it.
