Added image resize(optimize) feature