# Bower installed slick.js not finding ajax-loader.gif

**URL:** https://discourse.roots.io/t/bower-installed-slick-js-not-finding-ajax-loader-gif/3230
**Category:** sage
**Tags:** gulp
**Created:** 2015-03-15T12:34:52Z
**Posts:** 4

## Post 1 by @stueynet — 2015-03-15T12:34:52Z

I have installed slick.js using

```
$ bower install --save slick.js
```

and it runs and works fine except for the fact that it doesn’t find ajax-loader.gif. I am trying to figure out how wiredep deals with a bower packages’s assets like fonts and images. The css and js compiled just fine but they reference other files which did not seem to make it through the unfreezing process.

The slick.js css looks for the ajax-loader.gif file in the same directory. How is this supposed to work in our gulp / bower workflow?

Thanks!

---

## Post 2 by @ben — 2015-03-15T16:10:48Z

> [@Why are some components not included in "dist"](https://discourse.roots.io/t/why-are-some-components-not-included-in-dist/3095/6):
>
> asset-builder currently supports CSS, JS, and fonts. You’ll have to manually copy over images to your assets/images/ directory, and make sure that the CSS references the correct path. You can either override the CSS in your theme CSS for the correct images path on the rule(s), or remove the Bower package’s CSS from the pipeline and include it all manually in your theme CSS.

---

## Post 3 by @stueynet — 2015-03-15T18:35:59Z

Thanks Ben. Thats helpful.

---

## Post 4 by @stueynet — 2015-03-15T18:55:26Z

For anyone who wants a bit more detail, I used the overrides section of our bower.json file. I did not need slick-theme.css which is the file that was calling the ajax loader.gif so I simply added this:

```
"slick.js": {
	  "main" : ["slick/slick.min.js", "slick/slick.css", "slick/fonts/*"]
	},
```

I learned this from the Screencast here:

> **[Theme Development with Gulp and Bower Screencast | Roots](https://roots.io/screencasts/theme-development-with-gulp-and-bower/)**
>
> Learn how to use Gulp and Bower in Sage for WordPress theme development. See BrowserSync in action, learn how to add third-party packages and more.

Worth the $10

---

## Post 5 by @ben — 2015-03-15T22:11:10Z

This topic was automatically closed after 6 hours. New replies are no longer allowed.
