# @asset() in Blade template render wrong directory

**URL:** https://discourse.roots.io/t/asset-in-blade-template-render-wrong-directory/22034
**Category:** sage
**Tags:** bud, blade, sage10
**Created:** 2022-01-07T13:17:24Z
**Posts:** 2

## Post 1 by @rherault — 2022-01-07T13:17:24Z

Hello !

I want to use images in my Sage 10 project.

I put them all in the resources/images folder and when compiling they copy well to the public/assets/images folder.

But when I want to use them in a blade template with `@assets('images/logo.svg')`, it doesn’t work:

```
/public/images/logo.svg
```

instead of

```
/public/images/assets/logo.65fe3a.svg
```

Has anyone ever encountered this problem? Or do you know of alternatives?  
Thanks for your help !

---

## Post 2 by @csorrentino — 2022-01-07T15:25:59Z

You can follow that issue here: [Bug: Sage `@asset` directive incompatible with the dist output · Issue #897 · roots/bud · GitHub](https://github.com/roots/bud/issues/897)

> **Temporary workaround**  
> @asset(‘assets/images/example.jpg’)

---

## Post 3 by @ben — 2022-01-07T16:18:53Z


