add save_time in p_img_handler