add progressbar when process image