title: Gulp bower image path
body: <p>i have problem with settings gulp. I see this problem when i want to use plugin. Ie. add to install "juriejan/raty#bower-package-fix" and I <strong>don't see images</strong>. </p>
  
  <p>I think path of source are bad (my settings..), because plugin wants image path 'star-half.png', but now is working only when i change this into '/images/star-half.png'.</p>
  
  <p>In build.js i have:</p>
  
  <pre><code>var gulp = require('gulp');
  
  var paths = gulp.paths;
  
  var $ = require('gulp-load-plugins')({
    pattern: ['gulp-*', 'main-bower-files', 'uglify-save-license', 'del']
  });
  
  gulp.task('images', function () {
    return gulp.src($.mainBowerFiles())
      .pipe($.filter('**/*.{png,jpg,jpeg,bmp}'))
      .pipe($.flatten())
      .pipe(gulp.dest(paths.dist + '/images/'));
  });
  gulp.task('build', ['html', 'images', 'fonts', 'misc']);
  </code></pre>
  
  <p>and in gulpfile:</p>
  
  <pre><code>var gulp = require('gulp');
  
  gulp.paths = {
    src: 'src',
    dist: '../public',
    tmp: '.tmp',
    e2e: 'e2e'
  };
  </code></pre>
  
  <p>bower install create image file in 'public/images/'</p>
  
  <p>tree of project is </p>
  
  <pre><code>my-app   
    |-front
      |- bower.json
      |- package.json
    |- public
      |-images
  </code></pre>
  
  <p>i try sth like this, but steel not working:</p>
  
  <pre><code>gulp.task('images', function () {
      return gulp.src(paths.src + '/images/**/*')
          .pipe(gulp.dest(paths.dist + '/images/'));
  });
  </code></pre>