I need an expert advise which one of the Grunt plugin is much more effective in image optimization.
Is it grunt-tinyimg or grunt-contrib-imagemin? or Is there something better?
Thank you
My images are not being optimized. Perhaps I am doing something wrong on my end but every other task is working for me except my imagemin task. I removed all other tasks and tried to run my task below but it doesn't execute.
There are also no…
I started today getting used to grunt. I wanted to create a grunt package? script? module? task? which optimizes all images that will be uploaded to a certain folder (uploads/ ... it's a wordpress installation).
After some fiddling, I've create this…
I have installed grunt and trying the grunt-react and grunt-contrib-imagemin tasks. I have setup the following Gruntfile.js.
module.exports = function(grunt) {
grunt.initConfig ({
imagemin: {
dynamic: {
files: [{
…
I've got two images, a green check mark and a grey check mark. These are shown/hidden as the user checks or unchecks an item in a list. The problem I'm having is that when minifying the app's images with grunt-contrib-imagemin, these two images…
New to grunt, using grunt-contrib-imagemin to optimise my images. The default settings work great with PNG and save a lot. But there are barely any savings on jpegs. I'm trying to use an imagemin plugin to handle the jepg compression. I got mozjepg…
I was wanting to test out the imagemin-contrib in Grunt.js. I selected three jpg random images (sizes: 44kb, 92kb, 77kb, respectively) and set up the folder and plugin.
When I ran the imagemin grunt task, I received a message saying the photos…
I am using node version 0.12.2 and npm version 3.3.6. I am using yeoman tool to create angular app. When i run grunt it is aborting at imagemin dependency. I tried command npm install -g grunt-contrib-imagemin and npm install imagemin too.Still i…
I'm trying to debug a grunt error and i'm not sure where to begin.
Here's my output:
$ grunt build
Running "clean:dist" (clean) task
Cleaning .tmp...OK
Cleaning dist/img...OK
Running "wiredep:app" (wiredep) task
Running "useminPrepare:html"…
Image-min is running normally but i get 0 images minified why?
after run the code on my terminal:
$ grunt imagemin
Running "imagemin:dist" (imagemin) task
Minified 0 images (saved 0 B)
Done, without errors.
I am not understand, I…
Diagnose
I recently came across : PageSpeed Insights, it basically test your page speed, spit out a score, and display what cause your page to slow-down.
I enter my url and here is my : result.
Issues
I clearly don't have a lot score, but I'm…
I am trying to add Grunts imagemin plugin and it is working fine if I want to work in one directory only. However I have a multilingual site and therefore I have separate image directories for both English and French images. Is there a way to apply…
I cannot go with npm install on windows server 2008. The behavior is strange. Please see:
PS C:\1> npm cache clear
PS C:\1> npm install
npm WARN package.json 1@0.0.0 No description
npm WARN package.json 1@0.0.0 No repository field.
npm WARN…
I'm having trouble using grunt-contrib-imagemin, insofar as I can't get it to compress any images.
Here's my Gruntfile.js
module.exports = function(grunt) {
// 1. All configuration goes here
grunt.initConfig({
pkg:…