Fixed implementation of imagemin, images must allocated in images/src