TrackMaven / TrackMaven.github.io

TrackMaven's Engine Room Blog
http://engineroom.trackmaven.com
0 stars 1 forks source link

Adding new and uniform headshots to our blog. Stopped hotlinking! #61

Open joshfinnie opened 9 years ago

joshfinnie commented 9 years ago

I think the images could use some optimization... they're HUGE! @wadehammes any ideas?

joshfinnie commented 9 years ago

This is what it looks like now:

screen shot 2015-07-07 at 1 59 29 pm

wadehammes commented 9 years ago

@joshfinnie you could use this in your build:

var imagemin  = require('gulp-imagemin');

gulp.task('img-opt', function () {
  return gulp.src(/path/to/images)
    .pipe(imagemin({
        progressive: true
    }))
    .pipe(gulp.dest(/path/to/images))
});
joshfinnie commented 9 years ago

closes #45

joshfinnie commented 8 years ago

Have to run img-opt-headshots separately, but I think that's okay... no need to run that continuously with changes.